class MessageIterator
Defined at line 148 of file gen/third_party/openweave-core/src/include/Weave/Profiles/common/WeaveMessage.h
In order to use message buffers sensibly, we define this iterator,
which can be used to keep track of boundaries and so on.
Public Members
uint8_t * thePoint
Public Methods
void MessageIterator (System::PacketBuffer * )
constructor
WEAVE_ERROR readByte (uint8_t * )
reading and writing
WEAVE_ERROR read16 (uint16_t * )
WEAVE_ERROR read32 (uint32_t * )
WEAVE_ERROR read64 (uint64_t * )
WEAVE_ERROR readString (uint16_t , char * )
WEAVE_ERROR readBytes (uint16_t , uint8_t * )
WEAVE_ERROR writeByte (uint8_t )
WEAVE_ERROR write16 (uint16_t )
WEAVE_ERROR write32 (uint32_t )
WEAVE_ERROR write64 (uint64_t )
WEAVE_ERROR writeString (uint16_t , char * )
WEAVE_ERROR writeBytes (uint16_t , uint8_t * )
MessageIterator & operator++ ()
standard iterator operations
MessageIterator & operator+ (uint16_t )
MessageIterator & operator- (uint16_t )
bool operator== (const MessageIterator & )
bool operator!= (const MessageIterator & )
uint8_t & operator* ()
void append ()
bool hasData (uint16_t )
size checking
bool hasRoom (uint16_t )
void finishWriting ()
finishing