version 1.12, 2006/11/10 18:14:58
|
version 1.12.4.1, 2007/08/08 17:13:57
|
|
|
| |
inline void Packer::packReal32(Buffer& out, Real32 x) | inline void Packer::packReal32(Buffer& out, Real32 x) |
{ | { |
packUint32(out, *(reinterpret_cast<Uint32*>(&x))); |
packUint32(out, *(static_cast<Uint32*>((void*)&x))); |
} | } |
| |
inline void Packer::packReal64(Buffer& out, Real64 x) | inline void Packer::packReal64(Buffer& out, Real64 x) |
{ | { |
packUint64(out, *(reinterpret_cast<Uint64*>(&x))); |
packUint64(out, *(static_cast<Uint64*>((void*)&x))); |
} | } |
| |
inline void Packer::packChar16(Buffer& out, Char16 x) | inline void Packer::packChar16(Buffer& out, Char16 x) |