mirror of
https://github.com/SabreTools/SabreTools.IO.git
synced 2026-09-22 06:36:01 +00:00
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.
29 lines
599 B
C#
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,
|
|
}
|
|
}
|