class asIBinaryStream { public: void Read(void *ptr, asUINT size); void Write(const void *ptr, asUINT size); };
void Read(void *ptr, asUINT size);
Read is used to read data from the stream.
ptr |
Pointer to the memory location where the data should be put. |
size |
Size of the wanted data in bytes. |
void Write(const void *ptr, asUINT size);
Write is called to send data to the stream.
ptr |
Pointer to the data that should be written to the stream. |
size |
Size of the data to write in bytes. |