index

Reference: asIBinaryStream

class asIBinaryStream
{
public:
  virtual void Read(void *ptr, int size) = 0;
  virtual void Write(void *ptr, int size) = 0;
};

Read

void Read(void *ptr, int size);

Description

Read is used to read data from the stream.

Parameters

ptr 

Pointer to the memory location where the data should be put.

size 

Size of the wanted data in bytes.

Write

void Write(const char *text);

Description

Write is called to send data to the stream.

Parameters

ptr 

Pointer to the data that should be written to the stream.

size 

Size of the data to write in bytes.

top