Clarified byte-swapping code (arguably)

Thanks for writing this! I may use some of your UTF-16 encoding code.