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

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

MapLock is a module for remapper which is definitely not a nootils clone :)
Go to Latest
function io.sliceLongToBytes
import { io } from "https://deno.land/x/enviromodder@4.0.1/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[]