Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ListData<T>

Type parameters

Hierarchy

Implements

Index

Constructors

constructor

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

    • type: T
    • length: number
    • nullBitmap: Uint8Array | null | undefined
    • valueOffsets: Iterable<number>
    • valueChildData: Data<T>
    • Optional offset: undefined | number
    • Optional nullCount: undefined | number

    Returns ListData

Properties

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

valueOffsets

  • get valueOffsets(): Int32Array

values

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

Methods

clone

  • clone<R>(type: R, length?: number, offset?: number, nullCount?: number): any
  • 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 any

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