Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/powar/deps.ts>io.sliceLongToBytes

A simple but powerful TypeScript-based dot-file manager.
Go to Latest
function io.sliceLongToBytes
import { io } from "https://deno.land/x/powar@1.0.3/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[]