|
| static bool | encode (I value, std::span< uint8_t > &buf) |
| static std::optional< I > | decode (std::span< uint8_t > &buf) |
|
static size_t | maxSize () |
|
|
static constexpr size_t | bytes = sizeof(I) |
◆ decode()
template<typename I>
| std::optional< I > Cbor::Cbor< I >::decode |
( |
std::span< uint8_t > & | buf | ) |
|
|
inlinestatic |
Note, in 2s complement -n-1 is bitwise negated n (~n)
◆ encode()
template<typename I>
| bool Cbor::Cbor< I >::encode |
( |
I | value, |
|
|
std::span< uint8_t > & | buf ) |
|
inlinestatic |
Note, in 2s complement -n-1 is bitwise negated n (~n)
The documentation for this struct was generated from the following file: