Gjsify LogoGjsify Logo

A byte reader instance.

record

Hierarchy

  • ByteReader

Index

Constructors

Properties

byte: number
data: number
size: number
name: string

Methods

  • dupData(size: number): [boolean, number]
  • dupStringUtf16(): [boolean, any]
  • dupStringUtf32(): [boolean, any]
  • dupStringUtf8(str: string[]): boolean
  • free(): void
  • getData(size: number): [boolean, number]
  • getFloat32Be(): [boolean, number]
  • getFloat32Le(): [boolean, number]
  • getFloat64Be(): [boolean, number]
  • getFloat64Le(): [boolean, number]
  • getInt16Be(): [boolean, number]
  • getInt16Le(): [boolean, number]
  • getInt24Be(): [boolean, number]
  • getInt24Le(): [boolean, number]
  • getInt32Be(): [boolean, number]
  • getInt32Le(): [boolean, number]
  • getInt64Be(): [boolean, number]
  • getInt64Le(): [boolean, number]
  • getInt8(): [boolean, number]
  • getPos(): number
  • getRemaining(): number
  • getSize(): number
  • getStringUtf8(str: string[]): boolean
  • getUint16Be(): [boolean, number]
  • getUint16Le(): [boolean, number]
  • getUint24Be(): [boolean, number]
  • getUint24Le(): [boolean, number]
  • getUint32Be(): [boolean, number]
  • getUint32Le(): [boolean, number]
  • getUint64Be(): [boolean, number]
  • getUint64Le(): [boolean, number]
  • getUint8(val: any[]): boolean
  • init(data: any[], size: number): void
  • maskedScanUint32(mask: number, pattern: number, offset: number, size: number): number
  • Parameters

    • mask: number
    • pattern: number
    • offset: number
    • size: number

    Returns number

  • peekData(size: number): [boolean, number]
  • peekFloat32Be(): [boolean, number]
  • peekFloat32Le(): [boolean, number]
  • peekFloat64Be(): [boolean, number]
  • peekFloat64Le(): [boolean, number]
  • peekInt16Be(): [boolean, number]
  • peekInt16Le(): [boolean, number]
  • peekInt24Be(): [boolean, number]
  • peekInt24Le(): [boolean, number]
  • peekInt32Be(): [boolean, number]
  • peekInt32Le(): [boolean, number]
  • peekInt64Be(): [boolean, number]
  • peekInt64Le(): [boolean, number]
  • peekInt8(): [boolean, number]
  • peekStringUtf8(str: string[]): boolean
  • peekUint16Be(): [boolean, number]
  • peekUint16Le(): [boolean, number]
  • peekUint24Be(): [boolean, number]
  • peekUint24Le(): [boolean, number]
  • peekUint32Be(): [boolean, number]
  • peekUint32Le(): [boolean, number]
  • peekUint64Be(): [boolean, number]
  • peekUint64Le(): [boolean, number]
  • peekUint8(val: any[]): boolean
  • setPos(pos: number): boolean
  • skip(nbytes: number): boolean
  • skipStringUtf16(): boolean
  • skipStringUtf32(): boolean
  • skipStringUtf8(): boolean

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method