Buffer

Buffer is a way to manage an arbitrary chunk of data.

Functions

Name

Description

Buffer

Constructs a Buffer.

operator=

Constructs a Buffer.

write

Writes content into a Buffer.

read

Reads content from a Buffer.

setCursorPosition

Sets the Buffer’s cursor’s position.

getData

Returns the data.

getSize

Returns the size of the data.