39 return this->
serialize(const_cast<U8*>(addr), n,
true);
Serialization/Deserialization operation was successful.
SerializeStatus serialize(U8 val)
serialize 8-bit unsigned int
PlatformSizeType FwSizeType
void fill()
Fill the buffer to capacity with preexisting data.
SerializeStatus
forward declaration for string
SerializeStatus popBytes(U8 *const addr, FwSizeType n)
Pop n bytes off the buffer.
FwSizeType getBuffCapacity() const
returns capacity, not current size, of buffer
SerializeStatus pushBytes(const U8 *const addr, const FwSizeType n)
Push n bytes onto the buffer.
SerialBuffer(U8 *const data, const FwSizeType capacity)
uint8_t U8
8-bit unsigned integer
SerializeStatus deserialize(U8 &val)
deserialize 8-bit unsigned int
U8 * getBuffAddr()
gets buffer address for data filling
SerializeStatus setBuffLen(Serializable::SizeType length)
sets buffer length manually after filling with data