Library: Foundation
Package: Core
Header: Poco/ByteOrder.h
Description
This class contains a number of static methods to convert between big-endian and little-endian integers of various sizes.
Member Summary
Member Functions: flipBytes, fromBigEndian, fromLittleEndian, fromNetwork, toBigEndian, toLittleEndian, toNetwork
Member Functions
flipBytes
static Int8 flipBytes(
Int8 value
);
flipBytes
static UInt8 flipBytes(
UInt8 value
);
flipBytes
static Int16 flipBytes(
Int16 value
);
flipBytes
static UInt16 flipBytes(
UInt16 value
);
flipBytes
static Int32 flipBytes(
Int32 value
);
flipBytes
static UInt32 flipBytes(
UInt32 value
);
flipBytes
static float flipBytes(
float value
);
flipBytes
static double flipBytes(
double value
);
flipBytes
static Int64 flipBytes(
Int64 value
);
flipBytes
static UInt64 flipBytes(
UInt64 value
);
fromBigEndian
static Int8 fromBigEndian(
Int8 value
);
fromBigEndian
static UInt8 fromBigEndian(
UInt8 value
);
fromBigEndian
static Int16 fromBigEndian(
Int16 value
);
fromBigEndian
static UInt16 fromBigEndian(
UInt16 value
);
fromBigEndian
static Int32 fromBigEndian(
Int32 value
);
fromBigEndian
static UInt32 fromBigEndian(
UInt32 value
);
fromBigEndian
static Int64 fromBigEndian(
Int64 value
);
fromBigEndian
static UInt64 fromBigEndian(
UInt64 value
);
fromLittleEndian
static Int8 fromLittleEndian(
Int8 value
);
fromLittleEndian
static UInt8 fromLittleEndian(
UInt8 value
);
fromLittleEndian
static Int16 fromLittleEndian(
Int16 value
);
fromLittleEndian
static UInt16 fromLittleEndian(
UInt16 value
);
fromLittleEndian
static Int32 fromLittleEndian(
Int32 value
);
fromLittleEndian
static UInt32 fromLittleEndian(
UInt32 value
);
fromLittleEndian
static Int64 fromLittleEndian(
Int64 value
);
fromLittleEndian
static UInt64 fromLittleEndian(
UInt64 value
);
fromNetwork
static Int8 fromNetwork(
Int8 value
);
fromNetwork
static UInt8 fromNetwork(
UInt8 value
);
fromNetwork
static Int16 fromNetwork(
Int16 value
);
fromNetwork
static UInt16 fromNetwork(
UInt16 value
);
fromNetwork
static Int32 fromNetwork(
Int32 value
);
fromNetwork
static UInt32 fromNetwork(
UInt32 value
);
fromNetwork
static Int64 fromNetwork(
Int64 value
);
fromNetwork
static UInt64 fromNetwork(
UInt64 value
);
toBigEndian
static Int8 toBigEndian(
Int8 value
);
toBigEndian
static UInt8 toBigEndian(
UInt8 value
);
toBigEndian
static Int16 toBigEndian(
Int16 value
);
toBigEndian
static UInt16 toBigEndian(
UInt16 value
);
toBigEndian
static Int32 toBigEndian(
Int32 value
);
toBigEndian
static UInt32 toBigEndian(
UInt32 value
);
toBigEndian
static Int64 toBigEndian(
Int64 value
);
toBigEndian
static UInt64 toBigEndian(
UInt64 value
);
toLittleEndian
static Int8 toLittleEndian(
Int8 value
);
toLittleEndian
static UInt8 toLittleEndian(
UInt8 value
);
toLittleEndian
static Int16 toLittleEndian(
Int16 value
);
toLittleEndian
static UInt16 toLittleEndian(
UInt16 value
);
toLittleEndian
static Int32 toLittleEndian(
Int32 value
);
toLittleEndian
static UInt32 toLittleEndian(
UInt32 value
);
toLittleEndian
static Int64 toLittleEndian(
Int64 value
);
toLittleEndian
static UInt64 toLittleEndian(
UInt64 value
);
toNetwork
static Int8 toNetwork(
Int8 value
);
toNetwork
static UInt8 toNetwork(
UInt8 value
);
toNetwork
static Int16 toNetwork(
Int16 value
);
toNetwork
static UInt16 toNetwork(
UInt16 value
);
toNetwork
static Int32 toNetwork(
Int32 value
);
toNetwork
static UInt32 toNetwork(
UInt32 value
);
toNetwork
static Int64 toNetwork(
Int64 value
);
toNetwork
static UInt64 toNetwork(
UInt64 value
);