Fixes to the CByteArray class.

- Added method Swap()
- Fixed the logic to serialize floating-point values. Now the values is stored internally with the precision of double, but can be read independently as a double or as a float.

Thanks to Bernard Mayeur for the fixes.