 |
F´ Flight Software - C/C++ Documentation
NASA-v2.0.1
A framework for building embedded system applications to NASA flight quality standards.
|
Go to the documentation of this file.
58 return this->
serialize(
const_cast<U8*
>(addr), n,
true);
SerializeStatus
forward declaration for string
SerializeStatus serialize(U8 val)
serialize 8-bit unsigned int
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
@ FW_SERIALIZE_OK
Serialization/Deserialization operation was successful.
SerialBuffer(U8 *const data, const U32 capacity)
SerializeStatus setBuffLen(NATIVE_UINT_TYPE length)
sets buffer length manually after filling with 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 deserialize(U8 &val)
deserialize 8-bit unsigned int
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.