Update TLV8.md

This commit is contained in:
HomeSpan 2024-04-21 08:30:07 -05:00 committed by GitHub
parent 998bd873bc
commit b995a75907
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -167,6 +167,9 @@ TLV8_it supports the following methods:
* example: `uint8_t n = (*myIT)[i]`
* note there is no range-checking so make sure *i* does not try to reference an element beyond the end of the VALUE byte-array
* `T getVal<class T>()`
* this template function interprets the VALUE byte-array as a single unsigned integer of type T
* example:
```C++
TLV8 myTLV; // instantiates an empty TLV8 object