code: function (buffer) {
          var str = '',
              uArrayVal = new Uint8Array(buffer),
  
              i,
              ii;
  
          for (i = 0, ii = uArrayVal.length; i < ii; i++) {
              str += String.fromCharCode(uArrayVal[i]);
          }
  
          return str;
      }
docs: ArrayBuffer to String
  
  @param {ArrayBuffer} buffer
  @returns {String}