use inline byte-swapping function for MSVC
2 files changed