Пример #1
0
 /// <summary>
 /// Gets the parts of a stream that are stored, within a specified range.
 /// </summary>
 /// <param name="start">The offset of the first byte of interest</param>
 /// <param name="count">The number of bytes of interest</param>
 /// <returns>An enumeration of stream extents, indicating stored bytes</returns>
 public override IEnumerable <StreamExtent> GetExtentsInRange(long start, long count)
 {
     CheckDisposed();
     return(_wrappedStream.GetExtentsInRange(start, count));
 }
Пример #2
0
 /// <summary>
 /// Gets the parts of a buffer that are stored, within a specified range.
 /// </summary>
 /// <param name="start">The offset of the first byte of interest</param>
 /// <param name="count">The number of bytes of interest</param>
 /// <returns>An enumeration of stream extents, indicating stored bytes</returns>
 public override IEnumerable <StreamExtent> GetExtentsInRange(long start, long count)
 {
     return(_stream.GetExtentsInRange(start, count));
 }