Options
All
  • Public
  • Public/Protected
  • All
Menu

Input read helper for IdentifiedDataSerializable objects.

Hierarchy

  • DataInput

Index

Methods

  • available(): number
  • Returns number

  • isBigEndian(): boolean
  • Returns boolean

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

    • Optional newPosition: number

    Returns number

  • read(pos?: number): number
  • Parameters

    • Optional pos: number

    Returns number

  • readBoolean(pos?: number): boolean
  • Parameters

    • Optional pos: number

    Returns boolean

  • readBooleanArray(pos?: number): boolean[]
  • Parameters

    • Optional pos: number

    Returns boolean[]

  • readByte(pos?: number): number
  • Parameters

    • Optional pos: number

    Returns number

  • readByteArray(pos?: number): Buffer
  • Parameters

    • Optional pos: number

    Returns Buffer

  • readChar(pos?: number): string
  • Parameters

    • Optional pos: number

    Returns string

  • readCharArray(pos?: number): string[]
  • Parameters

    • Optional pos: number

    Returns string[]

  • readDouble(pos?: number): number
  • Parameters

    • Optional pos: number

    Returns number

  • readDoubleArray(pos?: number): number[]
  • Parameters

    • Optional pos: number

    Returns number[]

  • readFloat(pos?: number): number
  • Parameters

    • Optional pos: number

    Returns number

  • readFloatArray(pos?: number): number[]
  • Parameters

    • Optional pos: number

    Returns number[]

  • readInt(pos?: number): number
  • Parameters

    • Optional pos: number

    Returns number

  • readIntArray(pos?: number): number[]
  • Parameters

    • Optional pos: number

    Returns number[]

  • readLong(pos?: number): Long
  • Parameters

    • Optional pos: number

    Returns Long

  • readLongArray(pos?: number): Long[]
  • Parameters

    • Optional pos: number

    Returns Long[]

  • readObject(): any
  • Returns any

  • readShort(pos?: number): number
  • Parameters

    • Optional pos: number

    Returns number

  • readShortArray(pos?: number): number[]
  • Parameters

    • Optional pos: number

    Returns number[]

  • readString(pos?: number): string
  • Parameters

    • Optional pos: number

    Returns string

  • readStringArray(pos?: number): string[]
  • Parameters

    • Optional pos: number

    Returns string[]

  • readUTF(pos?: number): string
  • deprecated

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

    Parameters

    • Optional pos: number

    Returns string

  • readUTFArray(pos?: number): string[]
  • deprecated

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

    Parameters

    • Optional pos: number

    Returns string[]

  • readUnsignedByte(pos?: number): number
  • Parameters

    • Optional pos: number

    Returns number

  • readUnsignedShort(pos?: number): number
  • Parameters

    • Optional pos: number

    Returns number

  • reset(): void
  • Returns void

  • skipBytes(count: number): void
  • Parameters

    • count: number

    Returns void

Generated using TypeDoc