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

x/polkadot/util/mod.ts>u8aToString

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

Examples

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

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

Parameters

optional
value: Uint8Array | null

Returns

string