lib/partition.js
function PartitionEntry( options ) {

  if( !(this instanceof PartitionEntry) ) {
    return new PartitionEntry( options )
  }

  options = options != null ? options : {}

  /** @type {String} Type GUID */
  this.type = options.type || GUID.ZERO
  /** @type {String} GUID */
  this.guid = options.guid || GUID.ZERO
  /** @type {String} Partition label */
  this.name = options.name || ''

  /** @type {Number} First addressable block address */
  this.firstLBA = options.firstLBA || 0
  /** @type {Number} Last addressable block address */
  this.lastLBA = options.lastLBA || 0
  // NOTE: Can't use this as uint64 as logical ops will cast to uint32;
  // Maybe revert to buffer, or use bitfield module?
  /** @type {Number} Attribute flags */
  this.attr = options.attr || 0

}
function PartitionEntry( options ) {

  if( !(this instanceof PartitionEntry) ) {
    return new PartitionEntry( options )
  }

  options = options != null ? options : {}

  /** @type {String} Type GUID */
  this.type = options.type || GUID.ZERO
  /** @type {String} GUID */
  this.guid = options.guid || GUID.ZERO
  /** @type {String} Partition label */
  this.name = options.name || ''

  /** @type {Number} First addressable block address */
  this.firstLBA = options.firstLBA || 0
  /** @type {Number} Last addressable block address */
  this.lastLBA = options.lastLBA || 0
  // NOTE: Can't use this as uint64 as logical ops will cast to uint32;
  // Maybe revert to buffer, or use bitfield module?
  /** @type {Number} Attribute flags */
  this.attr = options.attr || 0

}
PartitionEntry
@constructor
@param {Object} [options]
@returns {PartitionEntry}