Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript byte array to hex string

function toHexString(byteArray) {
  return Array.from(byteArray, function(byte) {
    return ('0' + (byte & 0xFF).toString(16)).slice(-2);
  }).join('')
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #byte #array #hex #string
ADD COMMENT
Topic
Name
5+2 =