Skip to main content

Stream

Index

Constructors

constructor

  • new Stream(dataArray: ArrayBuffer): Stream
  • Parameters

    • dataArray: ArrayBuffer

    Returns Stream

Properties

data

data: any = null

len

len: number = 0

position

position: number = 0

Methods

publicread

  • read(n: number): string
  • Parameters

    • n: number

    Returns string

publicreadByte

  • readByte(): any
  • Returns any

publicreadBytes

  • readBytes(n: number): any[]
  • Parameters

    • n: number

    Returns any[]

publicreadUnsigned

  • readUnsigned(): any
  • Returns any