Set byte order on all buffers

makes sure we see the same going in as coming out
Merge pull request #54 from nicklan/master

Set byte order on all buffers