mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Add attribute to declare struct properties relevant for its marshalling.
This commit is contained in:
@@ -35,24 +35,17 @@
|
||||
// ----------------------------------------------------------------------------
|
||||
// Copyright © 2011-2019 Natalia Portillo
|
||||
// ****************************************************************************/
|
||||
|
||||
namespace DiscImageChef.CommonTypes.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// Describes the endianness of bits on a data structure
|
||||
/// </summary>
|
||||
/// <summary>Describes the endianness of bits on a data structure</summary>
|
||||
public enum BitEndian
|
||||
{
|
||||
/// <summary>
|
||||
/// Little-endian, or least significant bit
|
||||
/// </summary>
|
||||
/// <summary>Little-endian, or least significant bit</summary>
|
||||
Little,
|
||||
/// <summary>
|
||||
/// Big-endian, or most significant bit
|
||||
/// </summary>
|
||||
/// <summary>Big-endian, or most significant bit</summary>
|
||||
Big,
|
||||
/// <summary>
|
||||
/// PDP-11 endian, little endian except for 32-bit integers where the 16 halves are swapped between them
|
||||
/// </summary>
|
||||
/// <summary>PDP-11 endian, little endian except for 32-bit integers where the 16 halves are swapped between them</summary>
|
||||
Pdp
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user