(bytes: Uint8Array)
| 23 | * @returns The converted number. |
| 24 | */ |
| 25 | export function bytesToNumber(bytes: Uint8Array): number { |
| 26 | return hexStringToNumber(bytesToHexString(bytes)); |
| 27 | } |
| 28 | |
| 29 | /** |
| 30 | * Converts a non-negative safe integer or bigint to a Uint8Array. |
no test coverage detected