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

x/enviromodder/setup/deps.ts>io.sliceLongToBytes

A package (in beta) designed to make ReMapper environment statements more friendly
Go to Latest
function io.sliceLongToBytes
import { io } from "https://deno.land/x/enviromodder@1.3.2/setup/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[]