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

x/polkadot/util/bundle.ts>u8aToBuffer

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

Examples

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

console.log('Buffer', u8aToBuffer('0x123480001f'));

Parameters

optional
value: Uint8Array | null

Returns

Buffer