Serialization/Deserialization operation was successful.
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
Omit length from serialization.
U8 * getBuffAddr()
gets buffer address for data filling
SerializeStatus serializeFrom(U8 val)
serialize 8-bit unsigned int
SerializeStatus setBuffLen(Serializable::SizeType length)
sets buffer length manually after filling with data
SerializeStatus deserializeTo(U8 &val)
deserialize 8-bit unsigned int