Interface for Packet's writing functions.
#include <nrg_packet.h>
Public Member Functions | |
virtual PacketWritable & | write8 (const uint8_t &v)=0 |
Write a uint8_t, automatically converting endianness. | |
virtual PacketWritable & | write16 (const uint16_t &v)=0 |
Write a uint16_t, automatically converting endianness. | |
virtual PacketWritable & | write32 (const uint32_t &v)=0 |
Write a uint32_t, automatically converting endianness. | |
virtual PacketWritable & | write64 (const uint64_t &v)=0 |
Write a uint64_t, automatically converting endianness. | |
virtual PacketWritable & | writeArray (const void *v, size_t size)=0 |
Write an array of size size , no endian conversion is performed. | |
virtual | ~PacketWritable () |
Standard Destructor. | |