Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
function sliceLongToBytes
Deprecated
Deprecated

(will be removed after 1.0.0) Use the [Web Streams API]https://developer.mozilla.org/en-US/docs/Web/API/Streams_API instead.

import { sliceLongToBytes } from "https://deno.land/std@0.213.0/io/slice_long_to_bytes.ts";

Slice number into 64bit big endian byte array

Parameters

d: number

The number to be sliced

optional
dest: number[] = [UNSUPPORTED]

The sliced array

Returns

number[]