Skip to content

nfroidure/Hexa

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
www
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

Releases

No releases published

Packages

No packages published