Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function sliceLongToBytes
import { sliceLongToBytes } from "https://deno.land/std@0.177.1/io/slice_long_to_bytes.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[]