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

x/aether/src/network/gateway/Etf.ts>EtfDecoder

A Deno library to interface with the Discord API
Latest
class EtfDecoder
import { EtfDecoder } from "https://deno.land/x/aether@v0.0.3/src/network/gateway/Etf.ts";

Constructors

new
EtfDecoder(buf: Uint8Array)

Properties

private
buf: Uint8Array
private
decoder: TextDecoder
private
offset: number
private
view: DataView

Methods

private
decodeArray(length: number)
private
decodeBigInt(digits: number)
private
decodeBigNumber(digits: number)
private
parseAtom(atom: string)
private
readFloat64()
private
readInt32()
private
readInt8()
private
readString(length: number)
private
readUInt16()
private
readUInt32()
private
readUInt8()
unpack(): any