📝 added documentation for binary formats
This commit is contained in:
parent
57e6fddd90
commit
51c774f208
2 changed files with 1 additions and 1 deletions
BIN
doc/avatars.png
BIN
doc/avatars.png
Binary file not shown.
Before Width: | Height: | Size: 582 KiB After Width: | Height: | Size: 591 KiB |
|
@ -63,7 +63,7 @@ std::vector<uint8_t> v;
|
||||||
json j3 = json::from_cbor(v); // 1
|
json j3 = json::from_cbor(v); // 1
|
||||||
|
|
||||||
const char* buff;
|
const char* buff;
|
||||||
ize_t buff_size;
|
std::size_t buff_size;
|
||||||
json j4 = json::from_cbor(buff, buff_size); // 2
|
json j4 = json::from_cbor(buff, buff_size); // 2
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue