Converts a byte array to a byte array containing hexadecimal character codes. Each byte becomes two bytes representing its hex digits.
The byte array to convert.
A byte array with hexadecimal character codes.
bytesToHexBytes(new Uint8Array([255])) // Returns bytes for 'FF' Copy
bytesToHexBytes(new Uint8Array([255])) // Returns bytes for 'FF'
Converts a byte array to a byte array containing hexadecimal character codes. Each byte becomes two bytes representing its hex digits.