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

x/denoexec/deps.ts>io.sliceLongToBytes

A higher level wrapper around https://doc.deno.land/builtin/stable#Deno.run
Latest
function io.sliceLongToBytes
import { io } from "https://deno.land/x/denoexec@v1.1.5/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[]