Module

x/polkadot/util/index.ts>u8aToString

Package publishing for deno.land/x/polkadot
Go to Latest
function u8aToString
import { u8aToString } from "https://dotland.deno.dev/x/polkadot@0.2.35/util/index.ts";

Examples

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

u8aToString(new Uint8Array([0x68, 0x65, 0x6c, 0x6c, 0x6f])); // hello

Parameters

optional
value: Uint8Array | null

Returns

string