#include <BBuffer.h>
◆ BBuffer()
BBuffer::BBuffer |
( |
BUInt |
size = 0 | ) |
|
Create and manipulate a data buffer. On creation the buffer size defaults to 1024 bytes.
◆ ~BBuffer()
◆ data()
◆ resize()
int BBuffer::resize |
( |
BUInt32 |
size | ) |
|
|
inline |
◆ setData()
int BBuffer::setData |
( |
const void * |
data, |
|
|
BUInt32 |
size |
|
) |
| |
Sets buffer data resized to contain the data.
◆ setSize()
int BBuffer::setSize |
( |
BUInt32 |
size | ) |
|
◆ size()
Size of the buffer in bytes.
◆ writeData()
int BBuffer::writeData |
( |
BUInt32 |
pos, |
|
|
const void * |
data, |
|
|
BUInt32 |
size |
|
) |
| |
Writes data into buffer from offset pos.
◆ odata
◆ odataSize
◆ osize
The documentation for this class was generated from the following files: