Base class: Object
This class provides an interface for allocating, writing to, and reading from blocks of memory.
Property | Type | Description |
---|---|---|
Clear | Method | Fills the memory block with zero values. |
Copy | Method | Copies the contents of the buffer to another buffer. |
Data | Method | Retrieves a pointer to the data stored in the buffer. |
GetSize | Method | Gets the size (in bytes) of the buffer. |
Peek | Method | Reads data from the buffer at a specified offset without modifying the buffer. |
PeekByte | Method | Reads a single byte from the buffer at a specified offset. |
PeekDouble | Method | Reads a double-precision floating-point number from the buffer at a specified offset. |
PeekInt | Method | Reads an integer from the buffer at a specified offset. |
PeekFloat | Method | Reads a single-precision floating-point number from the buffer at a specified offset. |
PeekShort | Method | Reads a short integer from the buffer at a specified offset. |
PeekString | Method | Reads a string from the buffer at a specified offset. |
Poke | Method | Writes data to the buffer at a specified offset. |
PokeByte | Method | Writes a single byte to the buffer at a specified offset. |
PokeDouble | Method | Writes a double-precision floating-point number to the buffer at a specified offset. |
PokeInt | Method | Writes an integer to the buffer at a specified offset. |
PokeFloat | Method | Writes a single-precision floating-point number to the buffer at a specified offset. |
PokeShort | Method | Writes a short integer to the buffer at a specified offset. |
PokeString | Method | Writes a string to the buffer at a specified offset. |
Resize | Method | Resizes the buffer to a specified size. |
Save | Method | Saves the buffer data to a file. |
CreateBuffer | Function | Creates a new buffer with the specified size. |
CreateStaticBuffer | Function | Creates a new static buffer with the specified size. |
LoadBuffer | Function | Loads data from a file into a new buffer. |