 |
F´ Flight Software - C/C++ Documentation
NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
|
Go to the documentation of this file.
13 #ifndef Fw_SerialBuffer_HPP
14 #define Fw_SerialBuffer_HPP
16 #include "Fw/Types/BasicTypes.hpp"
17 #include "Fw/Types/Serializable.hpp"
A variable-length serializable buffer.
SerializeStatus
forward declaration for string
NATIVE_UINT_TYPE getBuffCapacity() const
returns capacity, not current size, of buffer
SerialBuffer(U8 *const data, const U32 capacity)
U8 * getBuffAddr()
gets buffer address for data filling
void fill()
Fill the buffer to capacity with preexisting data.
SerializeStatus popBytes(U8 *const addr, NATIVE_UINT_TYPE n)
Pop n bytes off the buffer.
SerializeStatus pushBytes(const U8 *const addr, const NATIVE_UINT_TYPE n)
Push n bytes onto the buffer.