Base58.fromBytes
Encodes a Bytes.Bytes
to a Base58-encoded string.
Imports
Named
import { Base58 } from 'ox'
Examples
import { Base58, Bytes } from 'ox'
const value = Base58.fromBytes(Bytes.fromString('Hello World!'))
'2NEpo7TZRRrLZSi2U'
Definition
function fromBytes(
value: Bytes.Bytes,
): string
Source: src/core/Base58.ts
Parameters
value
- Type:
Bytes.Bytes
The byte array to encode.
Return Type
The Base58 encoded string.
string