Skip to main content
Module

x/silicon/deps.ts>io.sliceLongToBytes

Deno module to generate images from source code using Aloxaf/silicon.
Go to Latest
function io.sliceLongToBytes
import { io } from "https://deno.land/x/silicon@0.0.6/deps.ts";
const { sliceLongToBytes } = io;

Slice number into 64bit big endian byte array

Parameters

d: number

The number to be sliced

optional
dest = [UNSUPPORTED]

The sliced array

Returns

number[]