Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/polkadot/util/bundle.ts>u8aToHex

Package publishing for deno.land/x/polkadot
Latest
function u8aToHex
Re-export
import { u8aToHex } from "https://deno.land/x/polkadot@0.2.45/util/bundle.ts";

Examples

import { u8aToHex } from 'https://deno.land/x/polkadot@0.2.45/util/mod.ts';

u8aToHex(new Uint8Array([0x68, 0x65, 0x6c, 0x6c, 0xf])); // 0x68656c0f

Parameters

optional
value: Uint8Array | null
optional
bitLength = [UNSUPPORTED]
optional
isPrefixed = [UNSUPPORTED]

Returns

HexString