DUNE: Uniform Navigational Environment
2019.02.0
|
Public Member Functions | |
ByteBuffer (uint32_t capacity=128) | |
~ByteBuffer (void) | |
void | grow (uint32_t size) |
void | write (const uint8_t *data, uint32_t size) |
void | resetBuffer (void) |
void | append (const uint8_t *data, uint32_t size) |
void | appendSigned (const char *data, uint32_t size) |
void | setSize (uint32_t size) |
uint8_t * | getBuffer (void) |
char * | getBufferSigned (void) |
uint32_t | getCapacity (void) |
uint32_t | getSize (void) |
uint32_t | getRemaining (void) |
Friends | |
std::ostream & | operator<< (std::ostream &os, ByteBuffer &buffer) |
|
inline |
|
inline |
|
inline |
References grow().
Referenced by appendSigned().
|
inline |
References append().
Referenced by DUNE::Compression::StreamBuffer::xsputn().
|
inline |
|
inline |
|
inline |
Referenced by DUNE::Tasks::SimpleTransport::onMain().
|
inline |
|
inline |
|
inline |
References DUNE::Math::computeNextPowerOfTwo().
Referenced by append(), DUNE::Tasks::SimpleTransport::consume(), setSize(), and write().
|
inline |
|
inline |
|
inline |
References grow().
|
friend |