 |
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
A variable-length serializable buffer.
SerializeStatus
forward declaration for string
uint8_t U8
8-bit unsigned integer
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.
unsigned int NATIVE_UINT_TYPE
native unsigned integer type declaration
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.
Declares ISF basic types.