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

x/socket_client/deps.ts>sliceLongToBytes

A simple WebSocket client for Deno
Latest
function sliceLongToBytes
import { sliceLongToBytes } from "https://deno.land/x/socket_client@0.1.0-alpha.1/deps.ts";

Slice number into 64bit big endian byte array

Parameters

d: number

The number to be sliced

optional
dest = [UNSUPPORTED]

The sliced array

Returns

number[]