std:std.stream.Stream.ReadAll
Reads as many bytes as possible from a stream into memory.
Continously reads data from a stream until either count
bytes are read or the end of stream is reached.
Returns the number of bytes read or the data read.
Parameters | |
---|---|
buf |
buf memory to read bytes into. |
data |
data data buffer to read bytes into. |
count |
count number of bytes to read. |