Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/aether/deps.ts>Long#toBytes

A Deno library to interface with the Discord API
Latest
method Long.prototype.toBytes
Re-export
import { Long } from "https://deno.land/x/aether@v0.0.3/deps.ts";

Converts this Long to its byte representation.

Parameters

optional
le: boolean
  • Whether little or big endian, defaults to big endian

Returns

number[]

Byte representation