Hierarchy

  • Convert

Index

Methods

Static changeType

  • changeType(value: any, type: Type): any
  • Parameters

    • value: any
    • type: Type

    Returns any

Static changeType2

  • changeType2(value: any, typeCode: TypeCode): any
  • Parameters

    Returns any

Static fromBase64String

  • fromBase64String(input: string): number[]
  • Parameters

    • input: string

    Returns number[]

Static fromBase64StringText

  • fromBase64StringText(input: string): string
  • Parameters

    • input: string

    Returns string

Static fromUTF16LE

  • fromUTF16LE<T>(input: T): T
  • Type parameters

    • T: string | number[] | Uint8Array

    Parameters

    • input: T

    Returns T

Static isUTF16LE

  • isUTF16LE(input: string | number[] | Uint8Array): boolean
  • Parameters

    • input: string | number[] | Uint8Array

    Returns boolean

Static stripBom

  • stripBom<T>(data: T): T
  • Type parameters

    • T: string | number[]

    Parameters

    • data: T

    Returns T

Static toBase64String

  • toBase64String(input: string | number[] | Uint8Array): string
  • Parameters

    • input: string | number[] | Uint8Array

    Returns string

Static toBoolean

  • toBoolean(value: any): boolean
  • Parameters

    • value: any

    Returns boolean

Static toDateTime

  • Parameters

    • value: any

    Returns DateTime

Static toDouble

  • toDouble(value: any): number
  • Parameters

    • value: any

    Returns number

Static toFont

  • toFont(value: string): Font
  • Parameters

    • value: string

    Returns Font

Static toInt32

  • toInt32(value: any, radix?: number): number
  • Parameters

    • value: any
    • Optional radix: number

    Returns number

Static toInt64

  • toInt64(value: any): number
  • Parameters

    • value: any

    Returns number

Static toNumber

  • toNumber(value: any): number
  • Parameters

    • value: any

    Returns number

Static toString

  • toString(value: any): string
  • Parameters

    • value: any

    Returns string

Static toUInt32

  • toUInt32(value: any): number
  • Parameters

    • value: any

    Returns number

Static toUInt64

  • toUInt64(value: any): number
  • Parameters

    • value: any

    Returns number

Generated using TypeDoc