Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/io/mod.ts>sliceLongToBytes

The Deno Standard Library
Latest
function sliceLongToBytes
Deprecated
Deprecated

This will be removed in 1.0.0. Use the Web Streams API instead.

import { sliceLongToBytes } from "https://deno.land/std@0.224.0/io/mod.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[]