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

x/clippy/deps.ts>io.sliceLongToBytes

cross-platform Deno module for writing and reading clipboard.
Go to Latest
function io.sliceLongToBytes
import { io } from "https://deno.land/x/clippy@v0.2.1/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[]