BufferUtils
Static Method Summary
Static Public Methods | ||
public static |
compare(a: *, b: *): number |
|
public static |
equals(a: *, b: *): boolean |
|
public static |
fromBase64(base64: string): Uint8Array |
|
public static |
fromBase64lex(base64lex: string): Uint8Array |
|
public static |
toBase64(buffer: *): string |
|
public static |
toBase64lex(buffer: *): string |
Static Public Methods
public static compare(a: *, b: *): number source
Params:
Name | Type | Attribute | Description |
a | * | ||
b | * |
Return:
number | 1 if a is smaller than b, 1 if a is larger than b, 0 if a equals b. |
public static equals(a: *, b: *): boolean source
Params:
Name | Type | Attribute | Description |
a | * | ||
b | * |
Return:
boolean |
public static fromBase64(base64: string): Uint8Array source
Params:
Name | Type | Attribute | Description |
base64 | string |
Return:
Uint8Array |
public static fromBase64lex(base64lex: string): Uint8Array source
Params:
Name | Type | Attribute | Description |
base64lex | string |
Return:
Uint8Array |
public static toBase64(buffer: *): string source
Params:
Name | Type | Attribute | Description |
buffer | * |
Return:
string |
public static toBase64lex(buffer: *): string source
Params:
Name | Type | Attribute | Description |
buffer | * |
Return:
string |