Make sure we write character vectors bits/bytes in the correct order (was reversed before)
Check endianness through preprocessor
Merge pull request #16 from kevinushey/master

Make sure we write character vector bits/bytes in the correct order