pub fn read(s: *const Stream, io: Io, data: [][]u8) Reader.Error!usize
This is a low-level API that calls the Io interface function directly. For a higher level API, see reader.
Io
reader
s: *const Stream
io: Io
data: [][]u8
1274 1275 1276 1277 1278 1279
pub fn read(s: *const Stream, io: Io, data: [][]u8) Reader.Error!usize { return (try io.operate(.{ .net_read = .{ .socket_handle = s.socket.handle, .data = data, } })).net_read; }
This is a low-level API that calls the
Iointerface function directly. For a higher level API, seereader.