BitSharper.Utils.ReadUint32Be C# (CSharp) Method

ReadUint32Be() public static method

public static ReadUint32Be ( byte bytes, int offset ) : uint
bytes byte
offset int
return uint
        public static uint ReadUint32Be(byte[] bytes, int offset)
        {
            return (((uint) bytes[offset + 0]) << 24) |
                   (((uint) bytes[offset + 1]) << 16) |
                   (((uint) bytes[offset + 2]) << 8) |
                   (((uint) bytes[offset + 3]) << 0);
        }