index

Reference: asIBinaryStream

class asIBinaryStream
{
public:
  void Read(void *ptr, asUINT size);
  void Write(const void *ptr, asUINT size);
};

Read

void Read(void *ptr, asUINT 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 void *ptr, asUINT size);

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