Natively Pronounced Mandarin
    Wondering what’s next for npm?Check out our public roadmap! »

    intel-hex

    0.1.2 • Public • Published

    intel-hex.js

    A parser/writer for Intel HEX file format.

    Usage

    require("intel_hex").parse(data);

    The parse function takes 2 arguments:

    • data - Intel Hex file (string in ASCII format or Buffer Object)
    • bufferSize - the size of the Buffer containing the data (optional)

    and returns an Object with the following properties:

    • data - data as a Buffer Object, padded with 0xFF where data is empty.
    • startSegmentAddress - the address provided by the last start segment address record; null, if not given
    • startLinearAddress - the address provided by the last start linear address record; null, if not given

    Special thanks to: http://en.wikipedia.org/wiki/Intel_HEX

    Install

    npm i intel-hex

    DownloadsWeekly Downloads

    491

    Version

    0.1.2

    License

    MIT

    Unpacked Size

    6.8 kB

    Total Files

    4

    Last publish

    Collaborators

    • avatar