Ejemplo n.º 1
0
        public static uint EndiannessSwap(uint value)
        {
            var temp = new byte[sizeof(uint)];

            Misc.ByteArrayWrite(0, value, temp);
            Misc.EndiannessSwapInPlace(temp, sizeof(uint));
            return(Misc.ByteArrayRead(0, temp));
        }