Converter
Static Method Summary
| Static Public Methods | ||
| public static |
checkBytesToIntInput(bytes: undefined, numBytes: undefined, opt_startIndex: undefined): * |
|
| public static |
convertBinaryStringToUint8Array(bStr: undefined): * |
|
| public static |
convertByteArrayToBigInteger(bytes: undefined, opt_startIndex: undefined): * |
|
| public static |
convertByteArrayToHexString(bytes: undefined): * |
|
| public static |
convertByteArrayToShortArray(byteArray: undefined): * |
|
| public static |
convertByteArrayToSignedInt32(bytes: undefined, opt_startIndex: undefined): * |
|
| public static |
convertByteArrayToSignedShort(bytes: undefined, opt_startIndex: undefined): * |
|
| public static |
convertByteArrayToString(bytes: undefined, opt_startIndex: undefined, length: undefined): * |
|
| public static |
convertByteArrayToWordArray(ba: undefined): * |
|
| public static |
convertHexStringToByteArray(hex: undefined): * |
|
| public static |
convertHexStringToString(hex: undefined): * |
|
| public static |
convertShortArrayToByteArray(shortArray: undefined): * |
|
| public static |
convertShortArrayToHexString(ary: undefined): * |
|
| public static |
convertStringToByteArray(str: undefined): * |
|
| public static |
convertStringToHexString(str: undefined): * |
|
| public static |
convertTimestampToDate(timestamp: number): * |
|
| public static |
convertUint8ArrayToBinaryString(u8Array: undefined): * |
|
| public static |
convertUint8ArrayToWordArray(u8Array: undefined): {"sigBytes": *, "words": *} |
|
| public static |
convertWordArrayToByteArray(wordArray: undefined, length: undefined): * |
|
| public static |
convertWordArrayToUint8Array(wordArray: undefined): * |
|
| public static |
convertWordToByteArray(word: undefined, length: undefined): * |
|
| public static |
|
|
| public static |
int32ToBytes(x: undefined, opt_bigEndian: undefined): * |
|
| public static |
intToBytes_(x: undefined, numBytes: undefined, unsignedMax: undefined, opt_bigEndian: undefined): * Produces an array of the specified number of bytes to represent the integer value. |
|
Static Public Methods
public static checkBytesToIntInput(bytes: undefined, numBytes: undefined, opt_startIndex: undefined): * source
Return:
| * |
public static convertBinaryStringToUint8Array(bStr: undefined): * source
Params:
| Name | Type | Attribute | Description |
| bStr | undefined |
Return:
| * |
public static convertByteArrayToBigInteger(bytes: undefined, opt_startIndex: undefined): * source
Return:
| * |
public static convertByteArrayToHexString(bytes: undefined): * source
Params:
| Name | Type | Attribute | Description |
| bytes | undefined |
Return:
| * |
public static convertByteArrayToShortArray(byteArray: undefined): * source
Params:
| Name | Type | Attribute | Description |
| byteArray | undefined |
Return:
| * |
public static convertByteArrayToSignedInt32(bytes: undefined, opt_startIndex: undefined): * source
Return:
| * |
public static convertByteArrayToSignedShort(bytes: undefined, opt_startIndex: undefined): * source
Return:
| * |
public static convertByteArrayToString(bytes: undefined, opt_startIndex: undefined, length: undefined): * source
Return:
| * |
public static convertByteArrayToWordArray(ba: undefined): * source
Params:
| Name | Type | Attribute | Description |
| ba | undefined |
Return:
| * |
public static convertHexStringToByteArray(hex: undefined): * source
Params:
| Name | Type | Attribute | Description |
| hex | undefined |
Return:
| * |
public static convertHexStringToString(hex: undefined): * source
Params:
| Name | Type | Attribute | Description |
| hex | undefined |
Return:
| * |
public static convertShortArrayToByteArray(shortArray: undefined): * source
Params:
| Name | Type | Attribute | Description |
| shortArray | undefined |
Return:
| * |
public static convertShortArrayToHexString(ary: undefined): * source
Params:
| Name | Type | Attribute | Description |
| ary | undefined |
Return:
| * |
public static convertStringToByteArray(str: undefined): * source
Params:
| Name | Type | Attribute | Description |
| str | undefined |
Return:
| * |
public static convertStringToHexString(str: undefined): * source
Params:
| Name | Type | Attribute | Description |
| str | undefined |
Return:
| * |
public static convertTimestampToDate(timestamp: number): * source
Params:
| Name | Type | Attribute | Description |
| timestamp | number |
Return:
| * |
public static convertUint8ArrayToBinaryString(u8Array: undefined): * source
Params:
| Name | Type | Attribute | Description |
| u8Array | undefined |
Return:
| * |
public static convertUint8ArrayToWordArray(u8Array: undefined): {"sigBytes": *, "words": *} source
Params:
| Name | Type | Attribute | Description |
| u8Array | undefined |
Return:
| {"sigBytes": *, "words": *} |
public static convertWordArrayToByteArray(wordArray: undefined, length: undefined): * source
Return:
| * |
public static convertWordArrayToUint8Array(wordArray: undefined): * source
Params:
| Name | Type | Attribute | Description |
| wordArray | undefined |
Return:
| * |
public static initialize() source
public static intToBytes_(x: undefined, numBytes: undefined, unsignedMax: undefined, opt_bigEndian: undefined): * source
Produces an array of the specified number of bytes to represent the integer value. Default output encodes ints in little endian format. Handles signed as well as unsigned integers. Due to limitations in JavaScript's number format, x cannot be a true 64 bit integer (8 bytes).
Return:
| * |
