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

BE_To_UInt64() static private method

static private BE_To_UInt64 ( byte bs ) : ulong
bs byte
return ulong
        internal static ulong BE_To_UInt64(byte[] bs)
        {
            uint hi = BE_To_UInt32(bs);
            uint lo = BE_To_UInt32(bs, 4);
            return ((ulong)hi << 32) | lo;
        }

Same methods

Pack::BE_To_UInt64 ( byte bs, int off ) : ulong