POLO Encoding & Decoding
Commands for working with POLO-encoded data.
Commands
| Command | Description |
|---|---|
docencode <expression> | Encode to POLO hex |
docdecode <0xhex> | Decode POLO hex to expression |
errdecode <0xhex> [from <engine>] | Decode error string (default: PISA) |
Examples
>>> docencode {name: "A", value: "B"}
0x0d5f064566b5016e616d65064176616c75650642
>>> docdecode 0x0d5f06454695016e616d6576616c7565
map[name: A value: B]
Decoding Errors
>>> errdecode 0x0e7f069602a104ae...
[builtin.TypeError invalid map value false map[runtime.root():routine.TS1() [0x8] ...]]
note
Interaction errors are automatically decoded. Use errdecode for manually inspecting encoded error strings.