Options
All
  • Public
  • Public/Protected
  • All
Menu

  subscribe now with sterfive to access the online-user manual

Index

Type aliases

VariantByteString

VariantByteString: VariantT<Buffer, ByteString>

VariantDouble

VariantDouble: VariantT<number, Double>

VariantLike

VariantLike: VariantOptions

Variables

Const _enumerationDataType

_enumerationDataType: Enum = ...

Functions

adjustVariant

buildVariantArray

  • buildVariantArray(dataType: DataType, nbElements: number, defaultValue: any): any[] | Uint8Array | Uint16Array | Uint32Array | Int8Array | Int16Array | Int32Array | Float32Array | Float64Array
  • Parameters

    • dataType: DataType
    • nbElements: number
    • defaultValue: any

    Returns any[] | Uint8Array | Uint16Array | Uint32Array | Int8Array | Int16Array | Int32Array | Float32Array | Float64Array

coerceVariantType

  • coerceVariantType(dataType: DataType, value: any): any
  • Parameters

    Returns any

isValidVariant

  • Parameters

    Returns boolean

sameVariant

  • returns true if the two variant represent the same value

    Parameters

    • v1: Variant

      the first variant to compare

    • v2: Variant

      the variant to compare with

    Returns boolean

Generated using TypeDoc