Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/grm/src/extensions/binary_reader.ts>BinaryReader

MTProto API Client for Deno 🦕
Go to Latest
class BinaryReader
import { BinaryReader } from "https://deno.land/x/grm@0.5.2/src/extensions/binary_reader.ts";

Constructors

new
BinaryReader(data: Buffer)

Properties

private
optional
_last: Buffer
private
readonly
stream: Buffer
offset: number

Methods

read(length?, checkLength?)
readInt(signed?)
readLargeInt(bits: number, signed?)
readLong(signed?)
seek(offset: number)
setPosition(position: number)