Пример #1
0
 /// <summary>
 /// Append something to the buffer. Resizes automatically if needed
 /// </summary>
 /// <param name="data">Another DataBuffer instance</param>
 public void Append(DataBuffer data)
 {
     Alloc(data.Length);
     Array.Copy(data.Buffer, 0, Buffer, Length, data.Length);
     Length += data.Length;
 }