fn read(self: Self, buffer: []u8) Error!usize
Returns the number of bytes read. It may be less than buffer.len. If the number of bytes read is 0, it means end of stream. End of stream is not an error condition.
self: Self,
buffer: []u8,