Files
Matt Nadareski 9d04185b21 Use explicit enum values matching automatic values
This is being done to avoid any API-breaking changes in the future. If the values are set explicitly, added values either need to force a major version update or get added as the next-highest values.
2026-07-10 09:58:04 -04:00

29 lines
599 B
C#

namespace SabreTools.IO.Extensions
{
/// <summary>
/// Determines the swapping operation
/// </summary>
public enum SwapOperation
{
/// <summary>
/// Reverse endianness of each byte
/// </summary>
Bitswap = 0,
/// <summary>
/// Swap every 1 byte
/// </summary>
Byteswap = 1,
/// <summary>
/// Swap every 2 bytes
/// </summary>
Wordswap = 2,
/// <summary>
/// Swap every 2 bytes and bytes within the 2 bytes
/// </summary>
WordByteswap = 3,
}
}