GameRevision.GW2Emu.Common.Serialization.Deserializer.ReadVarbyte C# (CSharp) Метод

ReadVarbyte() публичный Метод

public ReadVarbyte ( int count ) : long
count int
Результат long
        public long ReadVarbyte(int count)
        {
            List<byte> buffer = new List<byte>();
            buffer.AddRange(ReadBytes(count));
            buffer.AddRange(new byte[8 - buffer.Count]);
            return BitConverter.ToInt64(buffer.ToArray(), 0);
        }