コード例 #1
0
 private void DeleteUpThrough(int location)
 {
     // int start = location + 1;  // start at the first byte after the location
     byte[] newBuffer = Arrays.CopyOfRange(buffer.ToByteArray(), location, buffer.Length
                                               ());
     buffer.Clear();
     buffer.Append(newBuffer, 0, newBuffer.Length);
 }