17 #if FW_SERIALIZABLE_TO_STRING 220 #if FW_SERIALIZABLE_TO_STRING || BUILD_UT 226 friend std::ostream& operator<<(std::ostream& os,
const Buffer& obj);
PlatformSizeType FwSizeType
void setContext(U32 context)
void setSize(FwSizeType size)
void advance(FwSignedSizeType amount)
bool operator==(const Buffer &src) const
PlatformSignedSizeType FwSignedSizeType
DEPRECATED(LinearBufferBase &getSerializeRepr(), "Switch to .getSerializer() and .getDeserializer()")
Fw::SerializeStatus deserializeFrom(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG)
Fw::SerializeStatus serializeTo(Fw::SerialBufferBase &serialBuffer, Fw::Endianness mode=Fw::Endianness::BIG) const
FwSizeType getCapacity() const
The buffer is currently not owned.
SerializeStatus
forward declaration for string
ExternalSerializeBufferWithMemberCopy getDeserializer()
Value representing no context.
External serialize buffer with no copy semantics.
FwSizeType getOffset() const
uint8_t U8
8-bit unsigned integer
FwSizeType getSize() const
friend class Fw::BufferTester
FwSizeType SizeType
The size type for a buffer - for backwards compatibility.
External serialize buffer with member copy semantics.
The buffer is currently owned.
Implementation of malloc based allocator.
ExternalSerializeBufferWithMemberCopy getSerializer()
Size of Fw::Buffer when serialized.
Buffer & operator=(const Buffer &src)
Big endian serialization.
U8 * getOriginalData() const