Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UnionReader

Hierarchy

  • Reader
    • UnionReader

Index

Constructors

constructor

  • Parameters

    Returns UnionReader

Properties

baseOffset

baseOffset: number = 0

isReader

isReader: boolean = true

offset

offset: number = 0

size

size: number = 0

type

type: number = 2

Methods

array

  • Parameters

    • n: string

    Returns ArrayReader

get

  • get(n: string): number
  • Parameters

    • n: string

    Returns number

obj

  • Parameters

    • n: string

    Returns ObjReader

set

  • set(n: string, v: number): void
  • Parameters

    • n: string
    • v: number

    Returns void

setData

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

    Parameters

    • data: ArrayBuffer
    • Optional reader: DataView

    Returns void

union

  • Parameters

    • n: string

    Returns UnionReader

Static create

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

    • schema: Base
    • offset: number = 0

    Returns Reader

Generated using TypeDoc