nl::Weave::TLV::CircularTLVReader

Summary

Inheritance

Inherits from: nl::Weave::TLV::TLVReader

Public functions

Init(WeaveCircularTLVBuffer *buf)
void
Initializes a TLVReader object to read from a single WeaveCircularTLVBuffer.

Public functions

Init

void Init(
  WeaveCircularTLVBuffer *buf
)

Initializes a TLVReader object to read from a single WeaveCircularTLVBuffer.

Parsing begins at the start of the buffer (obtained by the buffer->Start() position) and continues until the end of the buffer Parsing may wraparound within the buffer (on any element). At most buffer->GetQueueSize() bytes are read out.

Details
Parameters
[in] buf
A pointer to a fully initialized WeaveCircularTLVBuffer