docs: function fromBytes(input){
      var output = '';
      var len = input.length;
      var i = 0;
      var b1;
      var b2;
  
      while (i < len)
      {
        b1 = input[i++] || 0;
        b2 = input[i++] || 0;
        output += String.fromCharCode((b2 << 8) | b1);
      }
      return output;
    }