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

x/proc/legacy/deps.ts>sliceLongToBytes

A better way to work with processes in Deno.
Go to Latest
function sliceLongToBytes
import { sliceLongToBytes } from "https://deno.land/x/proc@0.20.30/legacy/deps.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[]