Show / Hide Table of Contents

    Class ByteOrderConverter

    Byte-order conversion routines.
    Inheritance
    Object
    ByteOrderConverter
    Namespace: XploRe.Runtime
    Assembly: XploRe.Runtime.dll
    Syntax
    public static class ByteOrderConverter : Object

    Methods

    Name Description
    HostTo(ByteOrder, Int16) Converts the byte-order of the provided value from host byte-order to the requested byte-order.
    HostTo(ByteOrder, Int32) Converts the byte-order of the provided value from host byte-order to the requested byte-order.
    HostTo(ByteOrder, Int64) Converts the byte-order of the provided value from host byte-order to the requested byte-order.
    HostTo(ByteOrder, UInt16) Converts the byte-order of the provided value from host byte-order to the requested byte-order.
    HostTo(ByteOrder, UInt32) Converts the byte-order of the provided value from host byte-order to the requested byte-order.
    HostTo(ByteOrder, UInt64) Converts the byte-order of the provided value from host byte-order to the requested byte-order.
    HostToBigEndian(Int16) Converts the byte-order of the provided value from host byte-order to big-endian byte-order.
    HostToBigEndian(Int32) Converts the byte-order of the provided value from host byte-order to big-endian byte-order.
    HostToBigEndian(Int64) Converts the byte-order of the provided value from host byte-order to big-endian byte-order.
    HostToBigEndian(UInt16) Converts the byte-order of the provided value from host byte-order to big-endian byte-order.
    HostToBigEndian(UInt32) Converts the byte-order of the provided value from host byte-order to big-endian byte-order.
    HostToBigEndian(UInt64) Converts the byte-order of the provided value from host byte-order to big-endian byte-order.
    HostToLittleEndian(Int16) Converts the byte-order of the provided value from host byte-order to little-endian byte-order.
    HostToLittleEndian(Int32) Converts the byte-order of the provided value from host byte-order to little-endian byte-order.
    HostToLittleEndian(Int64) Converts the byte-order of the provided value from host byte-order to little-endian byte-order.
    HostToLittleEndian(UInt16) Converts the byte-order of the provided value from host byte-order to little-endian byte-order.
    HostToLittleEndian(UInt32) Converts the byte-order of the provided value from host byte-order to little-endian byte-order.
    HostToLittleEndian(UInt64) Converts the byte-order of the provided value from host byte-order to little-endian byte-order.
    Swap(Int16) Swaps the byte-order of the provided value.
    Swap(Int32) Swaps the byte-order of the provided value.
    Swap(Int64) Swaps the byte-order of the provided value.
    Swap(UInt16) Swaps the byte-order of the provided value.
    Swap(UInt32) Swaps the byte-order of the provided value.
    Swap(UInt64) Swaps the byte-order of the provided value.
    ToHostFrom(ByteOrder, Int16) Converts the byte-order of the provided value in the given byte-order to host byte-order.
    ToHostFrom(ByteOrder, Int32) Converts the byte-order of the provided value in the given byte-order to host byte-order.
    ToHostFrom(ByteOrder, Int64) Converts the byte-order of the provided value in the given byte-order to host byte-order.
    ToHostFrom(ByteOrder, UInt16) Converts the byte-order of the provided value in the given byte-order to host byte-order.
    ToHostFrom(ByteOrder, UInt32) Converts the byte-order of the provided value in the given byte-order to host byte-order.
    ToHostFrom(ByteOrder, UInt64) Converts the byte-order of the provided value in the given byte-order to host byte-order.
    Back to top Copyright © 2017-2018, xplo.re IT Services, Michael Maier. All rights reserved.