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

x/capi/deps/std/io.ts>sliceLongToBytes

[WIP] A framework for crafting interactions with Substrate chains
Latest
function sliceLongToBytes
import { sliceLongToBytes } from "https://deno.land/x/capi@v0.1.1-beta.1/deps/std/io.ts";

Slice number into 64bit big endian byte array

Parameters

d: number

The number to be sliced

optional
dest = [UNSUPPORTED]

The sliced array

Returns

number[]