Properties
base64Decode
base64Decode: ((string, url?) => Uint8Array)
Type declaration
- (string, url?): Uint8Array
Parameters
- string: string
- url: boolean = false
Returns Uint8Array
base64Encode
base64Encode: ((buf, url?) => string)
Type declaration
- (buf, url?): string
Parameters
- buf: Uint8Array
- url: boolean = false
Returns string
beforeExit
beforeExit: ((fn) => (() => void))
Type declaration
- (fn): (() => void)
Returns (() => void)
hexDecode
hexDecode: ((string) => Uint8Array)
Type declaration
- (string): Uint8Array
Returns Uint8Array
hexEncode
hexEncode: ((buf) => string)
Type declaration
- (buf): string
Returns string
utf8ByteLength
utf8ByteLength: ((str) => number)
Type declaration
- (str): number
Returns number
utf8Decode
utf8Decode: ((buf) => string)
Type declaration
- (buf): string
Returns string
utf8Encode
utf8Encode: ((str) => Uint8Array)
Type declaration
- (str): Uint8Array
Returns Uint8Array
Platform-specific functions used by TlBinaryReader and TlBinaryWriter