Whether the chained stream supports reading.
The chained stream only supports reading if all of its streams support it.
Whether the chained stream supports writing.
The chained stream only supports writing if all of its streams support it.
Whether the chained stream supports seeking.
The chained stream only supports seeking if all of its streams support it.
Whether I/O operations can time out.
The combined length, in bytes, of all chained streams.
The current position within the chained stream.
Getting the position is always possible, but setting the position requires all streams to be seekable.
Set the current position within the chained stream.
Protected StaticvalidateValidate buffer, offset, and count arguments for stream read/write operations.
The buffer supplied by the caller.
The starting offset in the buffer.
The number of bytes to read or write.
Add a stream to the end of the chain.
The stream.
Whether the stream should remain open after the chained stream is disposed.
Read bytes from the chained stream.
If the current child stream does not have enough remaining data to complete the read, the read progresses into the next stream in the chain.
The buffer to read data into.
The offset into the buffer to start reading data.
The number of bytes to read.
The total number of bytes read into the buffer, or zero if the end of the stream has been reached.
Write bytes to the chained stream.
If the current child stream does not have enough remaining space before the next stream boundary, the write progresses into the next stream in the chain.
The buffer to write.
The offset of the first byte to write.
The number of bytes to write.
Set the position within the chained stream.
The offset relative to origin.
The reference point used to obtain the new position.
The new position within the chained stream.
Flush the current child stream.
Dispose the chained stream and any child stream not added with leaveOpen.
Copy data from this stream to another stream.
The stream that will receive the copied data.
The temporary buffer size to use while copying.
Protectedthrow
A chained stream.
Chains multiple streams together such that reading or writing beyond the end of one stream spills over into the next stream in the chain, making the chain appear as one continuous stream.