I have re-written the TypedArray code to have an additional interface for swapping the types, and for a compiler define for little endian/big endian.

https://github.com/joyent/node/pull/4522