Skip to content

nfroidure/Hexa

Repository files navigation

Hexa

Hexa is a project intended to provide a client side Web based hexadecimal editor.

It's actually currently just a viewer, but the project is going on ;).

You can test it there : http://hexa.insertafter.com

## Debugging buffers

Do not forget to unblock/allow popups (or use iframes instead).

var hexa=window.open('http://hexa.insertafter.com');
// Debug TypedArrays/DataViews
hexa.postMessage(typedArray.buffer,'*');
// Debug files
var file; // Your blob
var reader = new FileReader();
reader.readAsArrayBuffer(file);
reader.onloadend=function(event) {
	hexa.postMessage(event.target.result,'*');
};

Transferable object are not accessible anymore once transfered. To avoid this, use :

buffer=buffer.slice(0); // not available on IE10
hexa.postMessage(buffer,'*');

Contribute

To contribute, just type the following after cloning the repo:

npm install --dev
su npm install grunt-cli -g
grunt-test

License

Copyright Nicolas Froidure 2013. MIT licence.

About

Full web hexadecimal editor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published