An open API service indexing awesome lists of open source software.

https://github.com/cinderblock/ihex

A JS tool for reading ihex format files
https://github.com/cinderblock/ihex

Last synced: 2 months ago
JSON representation

A JS tool for reading ihex format files

Awesome Lists containing this project

README

          

#iHex file reader

Read an Intel Hex `.hex` file into an existing buffer.

## Install

`npm install --save -q ihex`

## Use

```
var ihex = require('ihex');

var buff = new Buffer(32*1024);
buff.fill(0xff);
ihex('/path/to/file.ihex', buff, function() {
// All done!
console.log(buff);
});
```