33 namespace primary_interface
44 ss <<
"Raw byte stream: ";
48 ss << std::hex << static_cast<int>(buf[i]) <<
" ";
virtual bool parseWith(comm::BinParser &bp)
Sets the attributes of the package by parsing a serialized representation of the package.
The BinParser class handles a byte buffer and functionality to iteratively parse the content...
std::unique_ptr< uint8_t > buffer_
void rawData(std::unique_ptr< uint8_t > &buffer, size_t &buffer_length)
Writes the remaining bytes into a given buffer without parsing them.
virtual std::string toString() const
Produces a human readable representation of the package object.