Binary file editor, patcher
Currently functionality of this application is very limited, but you should be able to replace any gif/mp3/jpg/wav/png/bmp or text in your binary file (ie. firmware).
Sometimes app can found file which is only very similar to known images/sounds formats, but in fact it is just a random bytes array.
This app is just a prototype! Code is not clean, optimal nor final.
https://lampersky.github.io/BinaryFileEditor/
This app is using DataStream.js library from: https://github.com/kig/DataStream.js/blob/master/DataStream.js
I've only added "skip" function.
/**
Skip the DataStream read/write position.
@param {number} length Bytes to skip.
@return {null}
*/
DataStream.prototype.skip = function(length) {
if (this.position + length > this.byteLength || this.position + length < 0) {
throw new Error('Out of bound!');
}
this.position = this.position + length;
};