1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

io: remove obsolete OutputStream

This commit is contained in:
Alexander Medvednikov 2020-12-22 10:44:42 +01:00
parent dd27d0a2a3
commit a8447398f5
2 changed files with 2 additions and 53 deletions

View File

@ -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

View File

@ -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) ?
}