class CompactEncoding
(source)
Compact (Hex-prefix) encoding and decoding.
An implementation of Compact (Hex-prefix) encoding.
static val LEAF_TERMINATOR: Byte |
static fun bytesToPath(bytes: Bytes): Bytes
Calculate a RADIX-16 path for a given byte sequence. |
|
static fun decode(encoded: Bytes): Bytes
Decode a compact-encoded path to Radix-16. |
|
static fun encode(path: Bytes): Bytes
Encode a Radix-16 path. |