Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface VariantT<T>

Type parameters

  • T

Hierarchy

  • Variant
    • VariantT

Index

Constructors

constructor

  • new VariantT(options?: VariantOptions): VariantT
  • Parameters

    • Optional options: VariantOptions

    Returns VariantT

Properties

arrayType

arrayType: VariantArrayType

dataType

dataType: DataType

dimensions

dimensions: number[] | null

schema

schema: StructuredTypeSchema

value

value: any

Static coerce

coerce: _coerceVariant

Static schema

schema: StructuredTypeSchema

Methods

clone

  • clone(): Variant
  • Returns Variant

decode

  • decode(stream: BinaryStream): void
  • Parameters

    • stream: BinaryStream

    Returns void

decodeDebug

  • decodeDebug(stream: BinaryStream, options: any): void
  • Parameters

    • stream: BinaryStream
    • options: any

    Returns void

encode

  • encode(stream: OutputBinaryStream): void
  • Parameters

    • stream: OutputBinaryStream

    Returns void

isValid

  • isValid(): boolean
  • Returns boolean

setArrayType

  • setArrayType(value: any): void
  • Parameters

    • value: any

    Returns void

setDataType

  • setDataType(value: any): void
  • Parameters

    • value: any

    Returns void

toString

  • toString(): string
  • Returns string

Generated using TypeDoc