(bytes: Uint8Array)
| 509 | }; |
| 510 | |
| 511 | export const bytesToHexString = (bytes: Uint8Array) => { |
| 512 | return [...bytes].map(x => x.toString(16).padStart(2, '0')).join(''); |
| 513 | }; |
| 514 | |
| 515 | export const reverseBitsU32 = (x: number): number => { |
| 516 | x = ((x >> 1) & 0x55555555) | ((x & 0x55555555) << 1); |
no outgoing calls
no test coverage detected