}
+ /// <summary>
+ /// Allocate buffer
+ /// </summary>
+ /// <param name="count">more than zero</param>
+ public void Allocate(int count)
+ {
+ if(count > this._gapEnd - this._gapStart)
+ {
+ Capacity = count + count;
+ }
+ }
+
/// <summary>
/// Searches for the specified object and returns the zero-based index of the first
/// occurrence within the <see cref="GapBuffer{T}"/>.