pe-coff
Parse the COFF file header of a PE. As specified by Microsoft PE and COFF Specification 9.3 [doc], section 3.3.
example
const pecoff =
The header
has these properties:
And location
contains the offset and length of the header in bytes:
pecoff(mixed, [limit], callback)
Where mixed
is either a filename or a file descriptor. Use limit
(the number of bytes to read) if you only need the first (few) fields:
related
install
With npm do:
npm install pe-coff
license
MIT © Vincent Weevers