Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ObjReader

Hierarchy

  • Reader
    • ObjReader

Index

Constructors

constructor

  • Parameters

    Returns ObjReader

Properties

baseOffset

baseOffset: number = 0

isReader

isReader: boolean = true

offset

offset: number = 0

size

size: number = 0

type

type: number = 0

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