src/utils.js
function readName(buffer) {
  // Read name
  var nameLength = buffer.readUint32();
  var name = buffer.readChars(nameLength);

  // validate name
  // TODO

  // Apply padding
  padding(buffer);
  return name;
}
function readName(buffer) {
  // Read name
  var nameLength = buffer.readUint32();
  var name = buffer.readChars(nameLength);

  // validate name
  // TODO

  // Apply padding
  padding(buffer);
  return name;
}
function readName ( buffer ) { // Read name var nameLength = buffer . readUint32 ( ) ; var name = buffer . readChars ( nameLength ) ; // validate name // TODO // Apply padding padding ( buffer ) ; return name ; }
Reads the name
@ignore
@param {IOBuffer} buffer - Buffer for the file data
@return {string} - Name
Reads the name