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
- Host: GitHub
- URL: https://github.com/cinderblock/ihex
- Owner: cinderblock
- Created: 2015-07-18T03:02:36.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-27T01:24:16.000Z (almost 11 years ago)
- Last Synced: 2025-01-28T02:15:56.829Z (over 1 year ago)
- Language: JavaScript
- Size: 125 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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);
});
```