scsl 0.1.1
Shimmering Clarity Standard Library
Public Attributes | List of all members
scsl::TLV::Record Struct Reference

#include <TLV.h>

Public Attributes

uint8_t Tag
 A Tag is used to identify the type of this record.
 
uint8_t Len
 Len describes the number of bytes stored in Val.
 
uint8_t Val [TLV_MAX_LEN]
 Val contains the data in the record.
 

Detailed Description

Record describes a tag-length-value record.

TLV records occupy a fixed size in memory, which can be controlled with the TLV_MAX_LEN define. If this isn't defined, it defaults to a size of 253. When writen to an Arena, it occupies Len + 2 bytes. The strings are not null-terminated in the arena.


The documentation for this struct was generated from the following file: