std.stream.Stream.ReadAll - nitrologic/monkey2 GitHub Wiki
std::std.stream.std.stream.Stream.ReadAll
monkey:monkey.types.Int( buf:Void Ptr,count:monkey:monkey.types.Int )
Method ReadAll:monkey:monkey.types.Int( data:std:std.memory.DataBuffer,offset:monkey:monkey.types.Int,count:monkey:monkey.types.Int )
Method ReadAll:std:std.memory.DataBuffer( count:monkey:monkey.types.Int )
Method ReadAll:std:std.memory.DataBuffer( )
Method 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. |