function hexToUint8Arr(hex) {
  let bytes = [];
  for (let t = 0; t < hex.length; t += 2) {
    const byte = parseInt(hex.substr(t, 2), 16)
    bytes.push (byte)
  }
  return new Uint8Array(bytes);
}
// Convert a hex string to a UInt8Array array.
Convert a hex string to a UInt8Array array.
Convert a hex string to a UInt8Array array .
function hexToUint8Arr(hex) {
  let bytes = [];
  for (let t = 0; t < hex.length; t += 2) {
    const byte = parseInt(hex.substr(t, 2), 16)
    bytes.push (byte)
  }
  return new Uint8Array(bytes);
}
function hexToUint8Arr ( hex ) { let bytes = [ ] ; for ( let t = 0 ; t < hex . length ; t += 2 ) { const byte = parseInt ( hex . substr ( t , 2 ) , 16 ) bytes . push ( byte ) } return new Uint8Array ( bytes ) ; }
Convert a hex string to a UInt8Array array.
Convert a hex string to a UInt8Array array .