|
cpp-mate
0.7
Helpful library for C++.
|
Represents binary sink to memory. More...
#include <BinarySink.hpp>


Public Member Functions | |
| const uint8_t * | getData () const override |
| Returns address of data. More... | |
| uint64_t | getSize () const override |
| Returns size of data in bytes. More... | |
| void | clear () |
| Clears buffer. More... | |
Public Member Functions inherited from CppMate::BinarySink::Chunk | |
| Chunk (size_t chunkSize=std::numeric_limits< size_t >::max()) | |
| Constructor. More... | |
| void | write (const void *data, uint64_t size) override |
| Writes data into the sink. More... | |
Public Member Functions inherited from CppMate::BinarySink | |
| virtual | ~BinarySink ()=default |
Public Member Functions inherited from CppMate::BinaryData | |
| virtual | ~BinaryData ()=default |
| bool | hasData () const |
| Returns status of a data presence. More... | |
| bool | operator== (const BinaryData &other) const |
| operator == More... | |
| bool | operator!= (const BinaryData &other) const |
| operator != More... | |
Protected Member Functions | |
| void | writeChunk (const void *data, size_t size) override |
| Writes chunk of the data. More... | |
Represents binary sink to memory.
|
inline |
Clears buffer.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverrideprotectedvirtual |
Writes chunk of the data.
| data | the data to write. |
| size | the size of the chunk. |
Implements CppMate::BinarySink::Chunk.