예제 #1
0
 /// <summary>
 /// Sets the length of the stream.
 /// </summary>
 /// <param name="value">The new length</param>
 public override void SetLength(long value)
 {
     CheckDisposed();
     _wrappedStream.SetLength(value);
 }
예제 #2
0
 /// <summary>
 /// Sets the capacity of the buffer, truncating if appropriate.
 /// </summary>
 /// <param name="value">The desired capacity of the buffer.</param>
 public override void SetCapacity(long value)
 {
     _stream.SetLength(value);
 }