Account
| Beamlib 3.3.4 This is the Beam C++ class library. |
Loading...
Searching...
No Matches
BBuffer Class Reference
Create and manipulate a variable sized byte data buffer. More...
#include <BBuffer.h>
Inheritance diagram for BBuffer:
Public Member Functions | |
| BBuffer (BUInt size=0) | |
| ~BBuffer () | |
| int | setSize (BUInt32 size) |
| Sets the bufer size. | |
| int | setData (const void *data, BUInt32 size) |
| Sets buffer data resized to contain the data. | |
| int | writeData (BUInt32 pos, const void *data, BUInt32 size) |
| Writes data into buffer from offset pos. | |
| char * | data () |
| The data. | |
| BUInt32 | size () |
| Size of the buffer in bytes. | |
| int | resize (BUInt32 size) |
| Alternative to setSize() | |
Protected Attributes | |
| BUInt32 | odataSize |
| char * | odata |
| BUInt32 | osize |
Detailed Description
Create and manipulate a variable sized byte data buffer.
Constructor & Destructor Documentation
◆ BBuffer()
| BBuffer::BBuffer | ( | BUInt | size = 0 | ) |
◆ ~BBuffer()
| BBuffer::~BBuffer | ( | ) |
Member Function Documentation
◆ setSize()
| int BBuffer::setSize | ( | BUInt32 | size | ) |
Sets the bufer size.
◆ setData()
| int BBuffer::setData | ( | const void * | data, |
| BUInt32 | size | ||
| ) |
Sets buffer data resized to contain the data.
◆ writeData()
Writes data into buffer from offset pos.
◆ data()
| char * BBuffer::data | ( | ) |
The data.
◆ size()
| BUInt32 BBuffer::size | ( | ) |
Size of the buffer in bytes.
◆ resize()
Member Data Documentation
◆ odataSize
| protected |
◆ odata
| protected |
◆ osize
| protected |
The documentation for this class was generated from the following files:
Generated by
