Documentation
›
API Reference
›
Object
›
Stream
Read
Lua
C++
This function reads raw data from a stream to a memory buffer.
Syntax
void
Read
(const void* buf, int size)
Parameters
buf:
a pointer to a block of memory.
size:
the size of the data to read.
Remarks
This function is not available in Lua.