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

x/s3si/deps.ts>io.sliceLongToBytes

Export your battles from SplatNet to https://stat.ink
Go to Latest
function io.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 { io } from "https://deno.land/x/s3si@gui-v0.4.16/deps.ts";
const { sliceLongToBytes } = io;

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[]