OpenShot Audio Library | OpenShotAudio 0.3.2
|
#include <juce_ByteOrder.h>
Contains static methods for converting the byte order between different endiannesses.
Definition at line 32 of file juce_ByteOrder.h.
|
inlinestaticnoexcept |
Converts 3 big-endian bytes into a signed 24-bit value (which is sign-extended to 32 bits).
Definition at line 215 of file juce_ByteOrder.h.
Copies a 24-bit number to 3 big-endian bytes.
Definition at line 218 of file juce_ByteOrder.h.
|
inlinestaticnoexcept |
Turns 4 bytes into a big-endian integer.
Definition at line 207 of file juce_ByteOrder.h.
Referenced by juce::Uuid::getNode(), juce::Uuid::getTimeLow(), juce::MidiFile::readFrom(), juce::InputStream::readIntBigEndian(), and juce::MidiFile::writeTo().
|
inlinestaticnoexcept |
Turns 8 bytes into a big-endian integer.
Definition at line 209 of file juce_ByteOrder.h.
|
inlinestaticnoexcept |
Turns 2 bytes into a big-endian integer.
Definition at line 206 of file juce_ByteOrder.h.
Referenced by juce::Uuid::getNode(), juce::Uuid::getTimeHighAndVersion(), juce::Uuid::getTimeMid(), and juce::InputStream::readShortBigEndian().
|
inlinestaticnoexcept |
Returns true if the current CPU is big-endian.
Definition at line 128 of file juce_ByteOrder.h.
|
inlinestaticnoexcept |
Converts 3 little-endian bytes into a signed 24-bit value (which is sign-extended to 32 bits).
Definition at line 214 of file juce_ByteOrder.h.
|
inlinestaticnoexcept |
Copies a 24-bit number to 3 little-endian bytes.
Definition at line 217 of file juce_ByteOrder.h.
|
inlinestaticnoexcept |
Turns 4 bytes into a little-endian integer.
Definition at line 199 of file juce_ByteOrder.h.
Referenced by juce::BigInteger::loadFromMemoryBlock(), juce::InputStream::readCompressedInt(), and juce::InputStream::readInt().
|
inlinestaticnoexcept |
Turns 8 bytes into a little-endian integer.
Definition at line 201 of file juce_ByteOrder.h.
|
inlinestaticnoexcept |
Turns 2 bytes into a little-endian integer.
Definition at line 198 of file juce_ByteOrder.h.
Referenced by juce::InputStream::readShort().
|
inlinestaticnoexcept |
Constructs a 64-bit integer from its constituent bytes, in order of significance.
Definition at line 192 of file juce_ByteOrder.h.
|
inlinestaticnoexcept |
Constructs a 32-bit integer from its constituent bytes, in order of significance.
Definition at line 186 of file juce_ByteOrder.h.
|
inlinestaticnoexcept |
Constructs a 16-bit integer from its constituent bytes, in order of significance.
Definition at line 181 of file juce_ByteOrder.h.
Returns a garbled double which has the reverse byte-order of the original.
Definition at line 148 of file juce_ByteOrder.h.
Returns a garbled float which has the reverse byte-order of the original.
Definition at line 147 of file juce_ByteOrder.h.
|
inlinestaticnoexcept |
Swaps the upper and lower bytes of a 16-bit integer.
Definition at line 144 of file juce_ByteOrder.h.
|
inlinestaticnoexcept |
Reverses the order of the 4 bytes in a 32-bit integer.
Definition at line 145 of file juce_ByteOrder.h.
|
inlinestaticnoexcept |
Reverses the order of the 8 bytes in a 64-bit integer.
Definition at line 146 of file juce_ByteOrder.h.
|
inlinestaticnoexcept |
Swaps the upper and lower bytes of a 16-bit integer.
Definition at line 143 of file juce_ByteOrder.h.
|
inlinestaticnoexcept |
Reverses the order of the 4 bytes in a 32-bit integer.
Definition at line 154 of file juce_ByteOrder.h.
|
inlinestaticnoexcept |
Reverses the order of the 8 bytes in a 64-bit integer.
Definition at line 170 of file juce_ByteOrder.h.
|
inlinestaticnoexcept |
Swaps the byte order of a signed or unsigned integer if the CPU is big-endian
Definition at line 63 of file juce_ByteOrder.h.
Referenced by juce::String::createStringFromData(), juce::InputStream::readInt64(), and juce::InterprocessConnection::sendMessage().
|
inlinestaticnoexcept |
Swaps the byte order of a signed or unsigned integer if the CPU is little-endian
Definition at line 74 of file juce_ByteOrder.h.
Referenced by juce::String::createStringFromData(), and juce::InputStream::readInt64BigEndian().