Returns an encoder for base-58 strings.
This encoder serializes strings using a base-58 encoding scheme, commonly used in cryptocurrency addresses and other compact representations.
For more details, see getBase58Codec.
Encoding a base-58 string.
const encoder = getBase58Encoder();const bytes = encoder.encode('heLLo'); // 0x1b6a3070 Copy
const encoder = getBase58Encoder();const bytes = encoder.encode('heLLo'); // 0x1b6a3070
getBase58Codec
A VariableSizeEncoder<string> for encoding base-58 strings.
VariableSizeEncoder<string>
Returns an encoder for base-58 strings.
This encoder serializes strings using a base-58 encoding scheme, commonly used in cryptocurrency addresses and other compact representations.
For more details, see getBase58Codec.
Example
Encoding a base-58 string.
See
getBase58Codec