Buffer.
More...
#include <B2BITS_FastCoder.h>
|
| | Buffer () |
| | Constructor.
|
| |
| | Buffer (std::size_t capacity) |
| | Constructor.
|
| |
| char const * | getPtr () const |
| | Returns a pointer to the buffer.
|
| |
| std::size_t | getSize () const |
| | Returns size of the buffer.
|
| |
| | ~Buffer () |
| | Destructor.
|
| |
◆ Buffer() [1/2]
| Engine::FastCoder::Buffer::Buffer |
( |
| ) |
|
◆ Buffer() [2/2]
| Engine::FastCoder::Buffer::Buffer |
( |
std::size_t | capacity | ) |
|
Constructor.
- Parameters
-
| [in] | capacity | - count of bytes that should be reserved. |
◆ ~Buffer()
| Engine::FastCoder::Buffer::~Buffer |
( |
| ) |
|
◆ getPtr()
| char const * Engine::FastCoder::Buffer::getPtr |
( |
| ) |
const |
|
inline |
Returns a pointer to the buffer.
- Returns
- a pointer to the buffer.
◆ getSize()
| std::size_t Engine::FastCoder::Buffer::getSize |
( |
| ) |
const |
|
inline |
Returns size of the buffer.
- Returns
- size of the buffer.
◆ FastCoder