Add cross-platform byte order conversions
Merge pull request #132 from TsudaKageyu/byteswap

Add cross-platform byte order conversions