{
namespace Utils
{
+
+ /*!
+ * Reverses the order of bytes in an 16-bit integer.
+ */
inline ushort byteSwap(ushort x)
{
#if defined(HAVE_GCC_BYTESWAP_16)
#endif
}
+ /*!
+ * Reverses the order of bytes in an 32-bit integer.
+ */
inline uint byteSwap(uint x)
{
#if defined(HAVE_GCC_BYTESWAP_32)
#endif
}
+ /*!
+ * Reverses the order of bytes in an 64-bit integer.
+ */
inline ulonglong byteSwap(ulonglong x)
{
#if defined(HAVE_GCC_BYTESWAP_64)
#endif
}
+ /*!
+ * Returns a formatted string just like standard sprintf(), but makes use of
+ * safer functions such as snprintf() if available.
+ */
inline String formatString(const char *format, ...)
{
// Sufficient buffer size for the current internal uses.
return String::null;
}
+ /*!
+ * The types of byte order of the running system.
+ */
enum ByteOrder
{
+ //! Little endian systems.
LittleEndian,
+ //! Big endian systems.
BigEndian
};