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

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

Cross-runtime JavaScript library for building Telegram clients
Latest
class TLRawWriter
import { TLRawWriter } from "https://deno.land/x/mtkruto@0.6.2/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