45 lines
924 B
C#
45 lines
924 B
C#
namespace Swan
|
|
{
|
|
/// <summary>
|
|
/// Enumeration of Operating Systems.
|
|
/// </summary>
|
|
public enum OperatingSystem
|
|
{
|
|
/// <summary>
|
|
/// Unknown OS
|
|
/// </summary>
|
|
Unknown,
|
|
|
|
/// <summary>
|
|
/// Windows
|
|
/// </summary>
|
|
Windows,
|
|
|
|
/// <summary>
|
|
/// UNIX/Linux
|
|
/// </summary>
|
|
Unix,
|
|
|
|
/// <summary>
|
|
/// macOS (OSX)
|
|
/// </summary>
|
|
Osx,
|
|
}
|
|
|
|
/// <summary>
|
|
/// Defines Endianness, big or little.
|
|
/// </summary>
|
|
public enum Endianness
|
|
{
|
|
/// <summary>
|
|
/// In big endian, you store the most significant byte in the smallest address.
|
|
/// </summary>
|
|
Big,
|
|
|
|
/// <summary>
|
|
/// In little endian, you store the least significant byte in the smallest address.
|
|
/// </summary>
|
|
Little,
|
|
}
|
|
}
|