171 void setTo(uint8_t* buf, int32_t len);
190 void setTo(
char* buf, int32_t len);
211 void append(uint8_t* buf, int32_t len);
255 uint32_t
size()
const;
341 static void dump(uint8_t* s, int32_t len);
357 void _assign(uint32_t
size);
380 std::vector<uint8_t> mBuf;
Dynamic byte buffer for data storage and manipulation.
uint8_t * data()
Get pointer to buffer data.
Buffer()
Default constructor - creates empty buffer.
uint32_t size() const
Get current buffer size.
void append(uint8_t *buf, int32_t len)
Append data to existing buffer contents.
void setTo(const Buffer &buffer)
Copy data from another buffer.
bool empty()
Check if buffer contains no data.
~Buffer()
Destructor - cleans up buffer resources.
void setSize(int32_t len)
Set buffer size and initialize with zeros.
void dump()
Dump current buffer contents to stdout.
Buffer & operator=(const Buffer &other)
Assignment operator - assigns data from another buffer.
void clear()
Clear all buffer contents and mark as cleared.
Software Timer namespace containing all timer-related classes.