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