mbr

Master Boot Record (MBR)

MBR - Master Boot Record

Install via npm

$ npm install mbr

Buffer buffer (optional)

  • type: String, defauts to 'CLASSIC'
  • tableOffset: Number, defauts to 0x1BE
  • partitions: Array
  • parse( buffer ): MBR
    • Buffer buffer
  • toBuffer(): Buffer

Buffer buffer (optional)

  • status: Number, defauts to 0x00
  • type: Number, defauts to 0x00
  • info: Array, type metadata (optional)
  • sectors: Number, defauts to 0
  • firstLBA: Number, defauts to 0
  • firstCHS: CHS
  • lastCHS: CHS
  • parse( buffer ): MBR
    • Buffer buffer