typo: static_cast -> reinterpret_cast
Include what you use.
Use bsls_byteorder for swaps.
Revert "Use bsls_byteorder for swaps."

This reverts commit 84c87ec794eab95e893e9135b78183d80eec0eb1.