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

x/mtkruto/tl/0_tl_raw_writer.ts>TLRawWriter

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class TLRawWriter
import { TLRawWriter } from "https://deno.land/x/mtkruto@0.1.190/tl/0_tl_raw_writer.ts";

Constructors

new
TLRawWriter()

Properties

protected
_buffer: Uint8Array
readonly
buffer: Uint8Array

Methods

write(buffer: Uint8Array): this
writeBytes(bytes: Uint8Array): this
writeDouble(double: number): this
writeInt128(int: bigint, signed?): this
writeInt24(int: number, signed?): this
writeInt256(int: bigint, signed?): this
writeInt32(int: number, signed?): this
writeInt64(int: bigint, signed?): this
writeString(string: string): this