diff --git a/CHANGELOG.md b/CHANGELOG.md index 6804d94826..260a503c88 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,8 @@ ## V 0.1.30 *28 Nov 2020* (V 0.2 RC) -- Builtin compile-time JSON serializer now supports `time.Time` +- Builtin compile-time JSON serializer now supports `time.Time`. +- `array.contains(element)` is now generic. TODO ## V 0.1.27 diff --git a/vlib/io/stream.v b/vlib/io/stream.v deleted file mode 100644 index a1d8216ada..0000000000 --- a/vlib/io/stream.v +++ /dev/null @@ -1,52 +0,0 @@ -module io - -pub interface InputStream { - read_int() int - read_ints(l u32) []int - read_i8() i8 - read_i8s(l u32) []i8 - read_i16() i16 - read_i16s(l u32) []i16 - read_i64() i64 - read_i64s(l u32) []i64 - read_byte() byte - read_bytes(l u32) []byte - read_u16() u16 - read_u16s(l u32) []u16 - read_u32() u32 - read_u32s(l u32) []u32 - read_u64() u64 - read_u64s(l u32) []u64 - read_f32() f32 - read_f32s(l u32) []f32 - read_f64() f64 - read_f64s(l u32) []f64 - read_string(l u32) - skip(l u32) - read_struct(l u32) voidptr -} - -pub interface OutputStream { - write_int(d int) ? - write_ints(d []int) ? - write_i8(d i8) ? - write_i8s(d []i8) ? - write_i16(d i16) ? - write_i16s(d []i16) ? - write_i64(d i64) ? - write_i64s(d []i64) ? - write_byte(d byte) ? - write_bytes(d []byte) ? - write_u16(d u16) ? - write_u16s(d []u16) ? - write_u32(d u32) ? - write_u32s(d []u32) ? - write_u64(d u64) ? - write_u64s(d []u64) ? - write_f32(d f32) ? - write_f32s(d []f32) ? - write_f64(d f64) ? - write_f64s(d []f64) ? - write_string(d string) ? - write_struct(d voidptr, l u32) ? -}