Options
All
  • Public
  • Public/Protected
  • All
Menu

Output write helper for IdentifiedDataSerializable objects.

Hierarchy

  • DataOutput

Index

Methods

  • clear(): void
  • Returns void

  • isBigEndian(): boolean
  • Returns boolean

  • position(newPosition?: number): number
  • Parameters

    • Optional newPosition: number

    Returns number

  • toBuffer(): Buffer
  • Returns Buffer

  • write(byte: number | Buffer): void
  • Parameters

    • byte: number | Buffer

    Returns void

  • writeBoolean(val: boolean): void
  • Parameters

    • val: boolean

    Returns void

  • writeBooleanArray(val: boolean[]): void
  • Parameters

    • val: boolean[]

    Returns void

  • writeByte(byte: number): void
  • Parameters

    • byte: number

    Returns void

  • writeByteArray(bytes: Buffer): void
  • Parameters

    • bytes: Buffer

    Returns void

  • writeChar(char: string): void
  • Parameters

    • char: string

    Returns void

  • writeCharArray(chars: string[]): void
  • Parameters

    • chars: string[]

    Returns void

  • writeChars(chars: string): void
  • Parameters

    • chars: string

    Returns void

  • writeDouble(double: number): void
  • Parameters

    • double: number

    Returns void

  • writeDoubleArray(doubles: number[]): void
  • Parameters

    • doubles: number[]

    Returns void

  • writeFloat(float: number): void
  • Parameters

    • float: number

    Returns void

  • writeFloatArray(floats: number[]): void
  • Parameters

    • floats: number[]

    Returns void

  • writeInt(int: number): void
  • Parameters

    • int: number

    Returns void

  • writeIntArray(ints: number[]): void
  • Parameters

    • ints: number[]

    Returns void

  • writeIntBE(int: number): void
  • Parameters

    • int: number

    Returns void

  • writeLong(long: Long): void
  • Parameters

    • long: Long

    Returns void

  • writeLongArray(longs: Long[]): void
  • Parameters

    • longs: Long[]

    Returns void

  • writeObject(object: any): void
  • Parameters

    • object: any

    Returns void

  • writeShort(short: number): void
  • Parameters

    • short: number

    Returns void

  • writeShortArray(shorts: number[]): void
  • Parameters

    • shorts: number[]

    Returns void

  • writeString(val: string): void
  • Parameters

    • val: string

    Returns void

  • writeStringArray(val: string[]): void
  • Parameters

    • val: string[]

    Returns void

  • writeUTF(val: string): void
  • deprecated

    since version 4.2. This method will be removed in next major version. Please use writeString instead.

    Parameters

    • val: string

    Returns void

  • writeUTFArray(val: string[]): void
  • deprecated

    since version 4.2. This method will be removed in next major version. Please use writeStringArray instead.

    Parameters

    • val: string[]

    Returns void

  • writeZeroBytes(count: number): void
  • Parameters

    • count: number

    Returns void

Generated using TypeDoc