(bytes: Uint8Array)
| 95 | * @returns PrefixedHexString The hexadecimal representation of the bytes. |
| 96 | */ |
| 97 | export function bytesToHexString(bytes: Uint8Array): PrefixedHexString { |
| 98 | return getPrefixedHexString(Buffer.from(bytes).toString("hex")); |
| 99 | } |
| 100 | |
| 101 | /** |
| 102 | * Converts a hexadecimal string to a Uint8Array. The string must be a valid |
no test coverage detected