Poco

class ByteOrder

File Information

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 inline

static Int16 flipBytes(
    Int16 value
);

flipBytes static

static UInt16 flipBytes(
    UInt16 value
);

flipBytes static

static Int32 flipBytes(
    Int32 value
);

flipBytes static

static UInt32 flipBytes(
    UInt32 value
);

flipBytes static

static float flipBytes(
    float value
);

flipBytes static

static double flipBytes(
    double value
);

flipBytes static

static Int64 flipBytes(
    Int64 value
);

flipBytes static

static UInt64 flipBytes(
    UInt64 value
);

fromBigEndian static inline

static Int16 fromBigEndian(
    Int16 value
);

fromBigEndian static

static UInt16 fromBigEndian(
    UInt16 value
);

fromBigEndian static

static Int32 fromBigEndian(
    Int32 value
);

fromBigEndian static

static UInt32 fromBigEndian(
    UInt32 value
);

fromBigEndian static

static Int64 fromBigEndian(
    Int64 value
);

fromBigEndian static

static UInt64 fromBigEndian(
    UInt64 value
);

fromLittleEndian static inline

static Int16 fromLittleEndian(
    Int16 value
);

fromLittleEndian static

static UInt16 fromLittleEndian(
    UInt16 value
);

fromLittleEndian static

static Int32 fromLittleEndian(
    Int32 value
);

fromLittleEndian static

static UInt32 fromLittleEndian(
    UInt32 value
);

fromLittleEndian static

static Int64 fromLittleEndian(
    Int64 value
);

fromLittleEndian static

static UInt64 fromLittleEndian(
    UInt64 value
);

fromNetwork static inline

static Int16 fromNetwork(
    Int16 value
);

fromNetwork static

static UInt16 fromNetwork(
    UInt16 value
);

fromNetwork static

static Int32 fromNetwork(
    Int32 value
);

fromNetwork static

static UInt32 fromNetwork(
    UInt32 value
);

fromNetwork static

static Int64 fromNetwork(
    Int64 value
);

fromNetwork static

static UInt64 fromNetwork(
    UInt64 value
);

toBigEndian static inline

static Int16 toBigEndian(
    Int16 value
);

toBigEndian static

static UInt16 toBigEndian(
    UInt16 value
);

toBigEndian static

static Int32 toBigEndian(
    Int32 value
);

toBigEndian static

static UInt32 toBigEndian(
    UInt32 value
);

toBigEndian static

static Int64 toBigEndian(
    Int64 value
);

toBigEndian static

static UInt64 toBigEndian(
    UInt64 value
);

toLittleEndian static inline

static Int16 toLittleEndian(
    Int16 value
);

toLittleEndian static

static UInt16 toLittleEndian(
    UInt16 value
);

toLittleEndian static

static Int32 toLittleEndian(
    Int32 value
);

toLittleEndian static

static UInt32 toLittleEndian(
    UInt32 value
);

toLittleEndian static

static Int64 toLittleEndian(
    Int64 value
);

toLittleEndian static

static UInt64 toLittleEndian(
    UInt64 value
);

toNetwork static inline

static Int16 toNetwork(
    Int16 value
);

toNetwork static

static UInt16 toNetwork(
    UInt16 value
);

toNetwork static

static Int32 toNetwork(
    Int32 value
);

toNetwork static

static UInt32 toNetwork(
    UInt32 value
);

toNetwork static

static Int64 toNetwork(
    Int64 value
);

toNetwork static

static UInt64 toNetwork(
    UInt64 value
);

Securely control IoT edge devices from anywhere   Connect a Device