VitroIO SDK
Software development kit for Vitro Shard.
|
#include <buffer.h>
Public Member Functions | |
Buffer () | |
~Buffer () | |
bool | alloc (uint32_t size, uint8_t defaultValue=0) |
void | free () |
uint32_t | availableSize () const |
uint32_t | size () const |
uint32_t | freeSize () const |
bool | resize (uint32_t size) |
uint8_t * | get () |
const uint8_t * | get () const |
uint32_t | set (uint8_t *data, uint32_t size) |
void | clear (uint32_t newSize=0, uint8_t defaultValue=0) |
bool | isEmpty () const |
bool | isFull () const |
operator bool () const | |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |