GameRevision.GW2Emu.Common.Serialization.Serializer.WriteVarbyte C# (CSharp) 메소드

WriteVarbyte() 공개 메소드

public WriteVarbyte ( long value, int count ) : void
value long
count int
리턴 void
        public void WriteVarbyte(long value, int count)
        {
            List<byte> buffer = new List<byte>();
            buffer.AddRange(BitConverter.GetBytes(value));
            this.Write(buffer.GetRange(0, count).ToArray());
        }