chatty-flies-end
Added a new addCodecSizePrefix
primitive
const codec = addCodecSizePrefix(getBase58Codec(), getU32Codec());
codec.encode('hello world');
// 0x0b00000068656c6c6f20776f726c64
// | └-- Our encoded base-58 string.
// └-- Our encoded u32 size prefix.