Methods
Static crc32
- crc32(data: number[]): number
-
Parameters
Returns number
Static pack
- pack(data2: string | number[] | Uint8Array, name?: string): string | number[]
-
Parameters
-
data2: string | number[] | Uint8Array
-
Optional name: string
Returns string
|
number[]
Static unpack
- unpack<B>(data: string | number[] | Uint8Array, returnString: B): B extends true ? string : number[]
-
Type parameters
Parameters
-
data: string | number[] | Uint8Array
-
returnString: B
Returns B extends true ? string : number[]