buf. An empty slice signals end of
data; implementations must not return an empty slice before the end.
const(ubyte)[] read(ubyte[] buf) @safeRead the next chunk of bytes into buf.
buf | Buffer to fill; shorter returns are allowed. |
buf. An empty slice signals end of
data; implementations must not return an empty slice before the end.