demo/main.js
function(str){
  var ret = new Array(str.length), len = str.length;
  while(len--) ret[len] = str.charCodeAt(len);
  return Uint8Array.from(ret);
}
function(str){
  var ret = new Array(str.length), len = str.length;
  while(len--) ret[len] = str.charCodeAt(len);
  return Uint8Array.from(ret);
}
function ( str ) { var ret = new Array ( str . length ) , len = str . length ; while ( len -- ) ret [ len ] = str . charCodeAt ( len ) ; return Uint8Array . from ( ret ) ; }
we do not need Buffer pollyfill for now
we do not need Buffer pollyfill for now