|
LMMS
|
#include <juce_ByteOrder.h>
Private Member Functions | |
| ByteOrder ()=delete | |
Contains static methods for converting the byte order between different endiannesses.
@tags{Core}
|
privatedelete |
Converts 3 big-endian bytes into a signed 24-bit value (which is sign-extended to 32 bits).
Copies a 24-bit number to 3 big-endian bytes.
Turns 4 bytes into a big-endian integer.
Turns 8 bytes into a big-endian integer.
Turns 2 bytes into a big-endian integer.
|
inlinestaticconstexprnoexcept |
Returns true if the current CPU is big-endian.
Converts 3 little-endian bytes into a signed 24-bit value (which is sign-extended to 32 bits).
|
inlinestaticnoexcept |
Copies a 24-bit number to 3 little-endian bytes.
Turns 4 bytes into a little-endian integer.
Turns 8 bytes into a little-endian integer.
Turns 2 bytes into a little-endian integer.
|
inlinestaticconstexprnoexcept |
Constructs a 64-bit integer from its constituent bytes, in order of significance.
|
inlinestaticconstexprnoexcept |
Constructs a 32-bit integer from its constituent bytes, in order of significance.
Constructs a 16-bit integer from its constituent bytes, in order of significance.
|
inlinestaticnoexcept |
Returns a garbled double which has the reverse byte-order of the original.
|
inlinestaticnoexcept |
Returns a garbled float which has the reverse byte-order of the original.
Swaps the upper and lower bytes of a 16-bit integer.
Reverses the order of the 4 bytes in a 32-bit integer.
Reverses the order of the 8 bytes in a 64-bit integer.
Swaps the upper and lower bytes of a 16-bit integer.
Reverses the order of the 4 bytes in a 32-bit integer.
Reverses the order of the 8 bytes in a 64-bit integer.
|
inlinestaticnoexcept |
Swaps the byte order of a signed or unsigned integer if the CPU is big-endian
|
inlinestaticnoexcept |
Swaps the byte order of a signed or unsigned integer if the CPU is little-endian