class asIBinaryStream { public: void Read(void *ptr, int size); void Write(void *ptr, int size); };
void Read(void *ptr, int 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 char *text);
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. |