diff --git a/CSharp/Libraries/UniversalEditor.Core/IO/Endianness.cs b/CSharp/Libraries/UniversalEditor.Core/IO/Endianness.cs index 58533228..aa42ded5 100644 --- a/CSharp/Libraries/UniversalEditor.Core/IO/Endianness.cs +++ b/CSharp/Libraries/UniversalEditor.Core/IO/Endianness.cs @@ -19,10 +19,26 @@ namespace UniversalEditor.IO { using System; + /// + /// Represents the order of bytes in a multi-byte value (for example, , , + /// and ). + /// public enum Endianness { - LittleEndian, - BigEndian + /// + /// The bytes are stored with the least-significant byte at the lowest address, while the following bytes are + /// stored in increasing order of significance. (0x0A0B0C0D = { 0x0D, 0x0C, 0x0B, 0x0A }) + /// + LittleEndian, + /// + /// The bytes are stored with the most-significant byte at the lowest address, while the following bytes are + /// stored in decreasing order of significance. (0x0A0B0C0D = { 0x0A, 0x0B, 0x0C, 0x0D }) + /// + BigEndian, + /// + /// Little-endian except for bytes in 32-bit values which are stored with the 16-bit halves swapped. + /// + PDPEndian } }