Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SingleNestedData<T>

Type parameters

Hierarchy

Implements

Index

Constructors

constructor

  • new SingleNestedData(type: T, length: number, nullBitmap: Uint8Array | null | undefined, valueChildData: Data<T>, offset?: undefined | number, nullCount?: undefined | number): SingleNestedData

Properties

Protected Optional 0

0: Int32Array

Protected Optional 1

1: undefined | T["TArray"]

2

2: Uint8Array

Protected Optional 3

3: Int8Array

Protected _nullCount

_nullCount: number | kUnknownNullCount

Protected _valuesData

_valuesData: Data<T>

childData

childData: Data<any>[]

length

length: number

offset

offset: number

type

type: T

Accessors

nullBitmap

  • get nullBitmap(): undefined | Uint8Array

nullCount

  • get nullCount(): number

typeId

  • get typeId(): any

values

  • get values(): DataTypes<T>[T["TType"]] & BaseData<T>

Methods

clone

  • clone<R>(type: R, length?: number, offset?: number, nullCount?: number): NestedData<R>
  • Type parameters

    • R: T

    Parameters

    • type: R
    • Default value length: number = this.length
    • Default value offset: number = this.offset
    • Default value nullCount: number = this._nullCount

    Returns NestedData<R>

slice

  • slice(offset: number, length: number): this

Protected sliceData

  • sliceData(data: T["TArray"] & TypedArray, offset: number, length: number): any

Protected sliceInternal

  • sliceInternal(clone: this, offset: number, length: number): this

Protected sliceOffsets

  • sliceOffsets(valueOffsets: Int32Array, offset: number, length: number): Int32Array

Generated using TypeDoc