System.IO.Pipelines
The Start represents the offset into AvailableMemory where the range of "active" bytes begins. At the point when the block is leased
the Start is guaranteed to be equal to 0. The value of Start may be assigned anywhere between 0 and
AvailableMemory.Length, and must be equal to or less than End.
The End represents the offset into AvailableMemory where the range of "active" bytes ends. At the point when the block is leased
the End is guaranteed to be equal to Start. The value of Start may be assigned anywhere between 0 and
Buffer.Length, and must be equal to or less than End.
Reference to the next block of data when the overall "active" bytes spans multiple blocks. At the point when the block is
leased Next is guaranteed to be null. Start, End, and Next are used together in order to create a linked-list of discontiguous
working memory. The "active" memory is grown when bytes are copied in, End is increased, and Next is assigned. The "active"
memory is shrunk when bytes are consumed, Start is increased, and blocks are returned to the pool.
If true, data should not be written into the backing block after the End offset. Data between start and end should never be modified
since this would break cloning.
The amount of writable bytes in this segment. It is the amount of bytes between Length and End
Result returned by call
Creates a new instance of setting and flags
True if the current operation was canceled, otherwise false.
True if the is complete otherwise false
Defines a class that provides a duplex pipe from which data can be read from and written to.
Gets the half of the duplex pipe.
Gets the half of the duplex pipe.
Default and implementation.
Default and implementation.
Default and implementation.
Initializes the using as options.
Initializes the with the specified .
Gets the for this pipe.
Gets the for this pipe.
Resets the pipe
Represents a set of options
Default instance of
Creates a new instance of
Gets a value that determines if asynchronous callbacks should be executed on the they were captured on.
This takes precedence over the schedulers specified in and .
Gets amount of bytes in when starts blocking
Gets amount of bytes in when stops blocking
Gets minimum size of segment requested from
Gets the used to execute callbacks
Gets the used to execute callbacks
Gets the instances used for buffer management
Defines a class that provides access to a read side of pipe.
Attempt to synchronously read data the .
The
True if data was available, or if the call was canceled or the writer was completed.
If the pipe returns false, there's no need to call .
Asynchronously reads a sequence of bytes from the current .
A representing the asynchronous read operation.
Moves forward the pipeline's read cursor to after the consumed data.
Marks the extent of the data that has been successfully processed.
The memory for the consumed data will be released and no longer available.
The examined data communicates to the pipeline when it should signal more data is available.
Moves forward the pipeline's read cursor to after the consumed data.
Marks the extent of the data that has been successfully processed.
Marks the extent of the data that has been read and examined.
The memory for the consumed data will be released and no longer available.
The examined data communicates to the pipeline when it should signal more data is available.
Cancel to currently pending or if none is pending next call to , without completing the .
Signal to the producer that the consumer is done reading.
Optional indicating a failure that's causing the pipeline to complete.
Cancel the pending operation. If there is none, cancels next operation, without completing the .
Abstraction for running and callbacks and continuations
The implementation that queues callbacks to thread pool
The implementation that runs callbacks inline
Requests to be run on scheduler with being passed in
Defines a class that provides a pipeline to which data can be written.
Marks the as being complete, meaning no more items will be written to it.
Optional indicating a failure that's causing the pipeline to complete.
Cancel the pending operation. If there is none, cancels next operation, without completing the .
Registers a callback that gets executed when the side of the pipe is completed
Makes bytes written available to and runs continuation.
Writes to the pipe and makes data accessible to
The result of a call.
Creates a new instance of setting and flags
The that was read
True if the current operation was canceled, otherwise false.
True if the is complete