cleanup, docs
This commit is contained in:
@@ -13,4 +13,7 @@ UCEB1 is length-prefixed and binary-safe. It preserves nested maps, list-shaped
|
||||
|
||||
|
||||
:example
|
||||
print("ucb_encode example\n");
|
||||
DValue original;
|
||||
original["msg"] = "hello";
|
||||
String packed = ucb_encode(original);
|
||||
print("encoded ", packed.length(), " bytes; round-trips to: ", ucb_decode(packed)["msg"].to_string(), "\n");
|
||||
|
||||
Reference in New Issue
Block a user