Base32.fromHex
Encodes a Hex.Hex value to a Base32-encoded string (using the BIP-173 bech32 alphabet).
Imports
Named
import { Base32 } from 'ox'Examples
import { Base32 } from 'ox'
const value = Base32.fromHex('0x00ff00')Definition
function fromHex(
value: Hex.Hex,
): stringSource: src/core/Base32.ts
Parameters
value
- Type:
Hex.Hex
The hex value to encode.
Return Type
The Base32 encoded string.
string

