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

x/polkadot/util/u8a/toHex.ts>u8aToHex

Package publishing for deno.land/x/polkadot
Go to Latest
function u8aToHex
import { u8aToHex } from "https://deno.land/x/polkadot@0.2.11/util/u8a/toHex.ts";

Examples

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

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

Parameters

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