BattleNET.CRC32.UInt32ToBigEndianBytes C# (CSharp) 메소드

UInt32ToBigEndianBytes() 개인적인 메소드

private UInt32ToBigEndianBytes ( UInt32 x ) : byte[]
x System.UInt32
리턴 byte[]
        private byte[] UInt32ToBigEndianBytes(UInt32 x)
        {
            return new[]
                       {
                           (byte) ((x >> 24) & 0xff),
                           (byte) ((x >> 16) & 0xff),
                           (byte) ((x >> 8) & 0xff),
                           (byte) (x & 0xff)
                       };
        }