WindowStream abstract class WindowStream : Stream Exposes a predetermined slice of a larger stream using the same Stream interface. There should not be access to the base stream while this facade is in use. Documentation Code public static Stream GetWindow(Stream stream, long maxWindowLength) protected abstract int AdjustCount(int count) protected abstract void ReportInnerStreamRead(int resultRead)