TLSharp.Core.MTProto.Crypto.Pack.BE_To_UInt32 C# (CSharp) Method

BE_To_UInt32() static private method

static private BE_To_UInt32 ( byte bs ) : uint
bs byte
return uint
        internal static uint BE_To_UInt32(byte[] bs)
        {
            uint n = (uint)bs[0] << 24;
            n |= (uint)bs[1] << 16;
            n |= (uint)bs[2] << 8;
            n |= bs[3];
            return n;
        }

Same methods

Pack::BE_To_UInt32 ( byte bs, int off ) : uint