Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OutputBuffer

Hierarchy

  • OutputBuffer

Index

Constructors

constructor

Properties

buf

buf: Buffer

count

count: number = 0

offset

offset: number = 0

size

size: number

Methods

ensureCapacity

  • ensureCapacity(len: number): void

getBuffer

  • getBuffer(): Buffer

getData

  • getData(): Buffer

getLength

  • getLength(): number

grow

  • grow(minCapacity: number): void

write

  • write(data: string, offset: number, len: number): void

writeBoolean

  • writeBoolean(v: boolean): void

writeByte

  • writeByte(v: number): void

writeBytes

  • writeBytes(bytes: Array<number>): void

writeChar

  • writeChar(v: number): void

writeChars

  • writeChars(bytes: Array<number>): void

writeDouble

  • writeDouble(v: number): void

writeFloat

  • writeFloat(v: number): void

writeInt

  • writeInt(v: number): void

writeObject

  • writeObject(object: any): void

writeShort

  • writeShort(v: number): void

writeString

  • writeString(str: string): void

writeUInt

  • writeUInt(v: number): void

writeUShort

  • writeUShort(v: number): void