13 #ifndef Fw_SerialBuffer_HPP 14 #define Fw_SerialBuffer_HPP A variable-length serializable buffer.
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)
C++-compatible configuration header for fprime configuration.
uint8_t U8
8-bit unsigned integer
U8 * getBuffAddr()
gets buffer address for data filling