Methods
Static changeType
- changeType(value: any, type: Type): any
Static changeType2
- changeType2(value: any, typeCode: TypeCode): any
Static fromBase64String
- fromBase64String(input: string): number[]
-
Parameters
Returns number[]
Static fromBase64StringText
- fromBase64StringText(input: string): string
-
Parameters
Returns string
Static fromUTF16LE
- fromUTF16LE<T>(input: T): T
-
Type parameters
-
T: string | number[] | Uint8Array
Parameters
Returns T
Static isUTF16LE
- isUTF16LE(input: string | number[] | Uint8Array): boolean
-
Parameters
-
input: string | number[] | Uint8Array
Returns boolean
Static stripBom
-
Type parameters
Parameters
Returns T
Static toBase64String
- toBase64String(input: string | number[] | Uint8Array): string
-
Parameters
-
input: string | number[] | Uint8Array
Returns string
Static toBoolean
- toBoolean(value: any): boolean
-
Parameters
Returns boolean
Static toDouble
- toDouble(value: any): number
-
Parameters
Returns number
Static toFont
- toFont(value: string): Font
Static toInt32
- toInt32(value: any, radix?: number): number
-
Parameters
-
value: any
-
Optional radix: number
Returns number
Static toInt64
- toInt64(value: any): number
-
Parameters
Returns number
Static toNumber
- toNumber(value: any): number
-
Parameters
Returns number
Static toString
- toString(value: any): string
-
Parameters
Returns string
Static toUInt32
- toUInt32(value: any): number
-
Parameters
Returns number
Static toUInt64
- toUInt64(value: any): number
-
Parameters
Returns number