Update EndianSwap.cs
This commit is contained in:
parent
870c289c0c
commit
b8142cb6c3
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
static class EndianSwap
|
||||
{
|
||||
public static short Swap16(short Value) => (short)(((Value >> 8) & 0xff) | (Value << 8));
|
||||
|
||||
public static int Swap32(int Value)
|
||||
{
|
||||
uint UintVal = (uint)Value;
|
||||
|
|
Loading…
Add table
Reference in a new issue