Replacing the private implementations of SwapValue with calls to sys::swapByteOrder()