Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ArrayReader

Hierarchy

  • Reader
    • ArrayReader

Index

Constructors

constructor

  • Parameters

    Returns ArrayReader

Properties

baseOffset

baseOffset: number = 0

isReader

isReader: boolean = true

offset

offset: number = 0

size

size: number = 0

type

type: number = 1

Methods

array

  • Parameters

    • i: number

    Returns ArrayReader

get

  • get(i: number): number
  • Parameters

    • i: number

    Returns number

obj

  • Parameters

    • i: number

    Returns ObjReader

set

  • set(i: number, v: number): void
  • Parameters

    • i: number
    • v: number

    Returns void

setData

  • setData(data: ArrayBuffer, reader: DataView): void
  • override

    Parameters

    • data: ArrayBuffer
    • reader: DataView

    Returns void

union

  • Parameters

    • i: number

    Returns UnionReader

Static create

  • create(schema: Base, offset?: number): Reader
  • Parameters

    • schema: Base
    • offset: number = 0

    Returns Reader

Generated using TypeDoc