Simple extensible binary buffer.
|
| void | append (const std::uint8_t *newData, size_t newDataLength) override |
| | Appends data to the buffer.
|
| void | append (const ::tenduke::utl::DataSpan &data) override |
| | Appends data to the buffer.
|
| void | append (std::uint8_t byte) override |
| | Appends a single byte to the sink.
|
| unsigned char * | getData () const override |
| | Returns the data.
|
| std::size_t | getLength () const override |
| | Returns the length of data in bytes.
|
| unsigned char * | data () override |
| | Returns a mutable view of the underlying data.
|
| const unsigned char * | data () const override |
| | Returns a pointer to the beginning of the underlying sequence.
|
| std::size_t | size_bytes () const override |
| | Returns the size of the span in bytes.
|
| virtual void | append (const std::uint8_t *data, std::size_t size)=0 |
| | Appends binary data to the sink.
|