F´ Flight Software - C/C++ Documentation
NASA-v1.5.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
U8 * getBuffAddr(void)
gets buffer address for data filling
uint8_t U8
8-bit unsigned integer
NATIVE_UINT_TYPE getBuffCapacity(void) const
returns capacity, not current size, of buffer
SerialBuffer(U8 *const data, const U32 capacity)
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.
void fill(void)
Fill the buffer to capacity with preexisting data.
Declares ISF basic types.