meltingice/psd.js — Issue #2: Use JS Typed Arrays
Author: ebidel
Created: 2012-01-31 19:34:11+00:00
State: open

.fromCharCode() is no longer the new hotness. JS typed arrays are the new hotness for bin data.

https://developer.mozilla.org/en/JavaScript_typed_arrays
https://developer.mozilla.org/en/JavaScript_typed_arrays/ArrayBuffer

In particular, this would be a good case for DataView:
https://developer.mozilla.org/en/JavaScript_typed_arrays/DataView