Published
- 1 min read
javascript byte array to hex string
The solution for this is noted below
javascript byte array to hex string
Solution
function toHexString(byteArray) {
return Array.from(byteArray, function(byte) {
return ('0' + (byte & 0xFF).toString(16)).slice(-2);
}).join('')
}
Try other methods by searching on the site. That is if this doesn’t work