System.IO.Pipelines
Result returned by call.
Creates a new instance of setting and flags.
if the current operation was canceled; otherwise, .
if the is complete; otherwise, .
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.
Initializes the using as options.
Initializes the with the specified .
Gets the for this pipe.
Resets the pipe.
Gets the for this pipe.
Represents a set of options.
Creates a new instance of .
Gets the default instance of .
Gets the minimum size of the segment requested from .
Gets the amount of bytes in when starts blocking.
Gets the instances used for buffer management.
Gets the used to execute callbacks.
Gets amount of bytes in when stops blocking.
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 the used to execute callbacks.
Defines a class that provides access to a read side of pipe.
Initializes a new instance of the class.
Moves forward the pipeline's read cursor to after the consumed data.
Marks the extent of the data that has been successfully processed.
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.
Returns the underlying wrapped by the .
An optional flag that indicates whether disposing the returned leaves open () or completes ().
The underlying stream.
Cancels to currently pending or if none is pending next call to , without completing the .
Signals to the producer that the consumer is done reading.
Optional indicating a failure that's causing the pipeline to complete.
Marks the current pipe reader instance as being complete, meaning no more data will be read from it.
An optional exception that indicates the failure that caused the reader to complete.
A value task that represents the asynchronous complete operation.
Asynchronously reads the bytes from the and writes them to the specified , using a specified buffer size and cancellation token.
The pipe writer to which the contents of the current stream will be copied.
The token to monitor for cancellation requests. The default value is .
A task that represents the asynchronous copy operation.
Asynchronously reads the bytes from the and writes them to the specified stream, using a specified cancellation token.
The stream to which the contents of the current stream will be copied.
The token to monitor for cancellation requests. The default value is .
A task that represents the asynchronous copy operation.
Creates a wrapping the specified .
The stream that the pipe reader will wrap.
The options to configure the pipe reader.
A that wraps the .
Registers a callback that executes when the side of the pipe is completed.
The callback to register.
The state object to pass to when it's invoked.
Asynchronously reads a sequence of bytes from the current .
A representing the asynchronous read operation.
Attempts to synchronously read data the .
The
if data was available, or if the call was canceled or the writer was completed; otherwise, .
Abstraction for running and callbacks and continuations.
The implementation that runs callbacks inline.
Requests to be run on scheduler with being passed in.
The implementation that queues callbacks to thread pool.
Defines a class that provides a pipeline to which data can be written.
Initializes a new instance of the class.
Notifies the that bytes were written to the output or . You must request a new buffer after calling to continue writing more data; you cannot write to a previously acquired buffer.
The number of bytes written to the or .
Returns the underlying wrapped by the .
An optional flag that indicates whether disposing the returned leaves open () or completes ().
The underlying stream.
Cancels the pending operation. If there is none, cancels next operation, without completing the .
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.
Marks the current pipe writer instance as being complete, meaning no more data will be written to it.
An optional exception that indicates the failure that caused the pipeline to complete.
A value task that represents the asynchronous complete operation.
Asynchronously reads the bytes from the specified stream and writes them to the .
The stream from which the contents will be copied.
The token to monitor for cancellation requests. The default value is .
A task that represents the asynchronous copy operation.
Creates a wrapping the specified .
The stream that the pipe writer will wrap.
The options to configure the pipe writer.
A that wraps the .
Makes bytes written available to and runs continuation.
The token to monitor for cancellation requests. The default value is .
A task that represents and wraps the asynchronous flush operation.
Returns a to write to that is at least the requested size, as specified by the parameter.
The minimum length of the returned . If 0, a non-empty memory buffer of arbitrary size is returned.
A memory buffer of at least bytes. If is 0, returns a non-empty buffer of arbitrary size.
The requested buffer size is not available.
Returns a to write to that is at least the requested size, as specified by the parameter.
The minimum length of the returned . If 0, a non-empty buffer of arbitrary size is returned.
A buffer of at least bytes. If is 0, returns a non-empty buffer of arbitrary size.
The requested buffer size is not available.
Registers a callback that executes when the side of the pipe is completed.
The callback to register.
The state object to pass to when it's invoked.
Writes the specified byte memory range to the pipe and makes data accessible to the .
The read-only byte memory region to write.
The token to monitor for cancellation requests. The default value is .
A task that represents the asynchronous write operation, and wraps the flush asynchronous operation.
The result of a call.
Creates a new instance of setting and flags.
Gets the that was read.
if the current operation was canceled; otherwise, .
if the is complete; otherwise, .
Provides extension methods for that support read and write operations directly into pipes.
Asynchronously reads the bytes from the and writes them to the specified , using a cancellation token.
The stream from which the contents of the current stream will be copied.
The writer to which the contents of the source stream will be copied.
The token to monitor for cancellation requests. The default value is .
A task that represents the asynchronous copy operation.
Represents a set of options for controlling the creation of the .
Initializes a instance, optionally specifying a memory pool, a minimum buffer size, a minimum read size, and whether the underlying stream should be left open after the completes.
The memory pool to use when allocating memory. The default value is .
The minimum buffer size to use when renting memory from the . The default value is 4096.
The threshold of remaining bytes in the buffer before a new buffer is allocated. The default value is 1024.
to leave the underlying stream open after the completes; to close it. The default is .
Gets the minimum buffer size to use when renting memory from the .
The buffer size.
Gets the value that indicates if the underlying stream should be left open after the completes.
if the underlying stream should be left open after the completes; otherwise, .
Gets the threshold of remaining bytes in the buffer before a new buffer is allocated.
The minimum read size.
Gets the to use when allocating memory.
A memory pool instance.
Represents a set of options for controlling the creation of the .
Initializes a instance, optionally specifying a memory pool, a minimum buffer size, and whether the underlying stream should be left open after the completes.
The memory pool to use when allocating memory. The default value is .
The minimum buffer size to use when renting memory from the . The default value is 4096.
to leave the underlying stream open after the completes; to close it. The default is .
Gets the value that indicates if the underlying stream should be left open after the completes.
if the underlying stream should be left open after the completes; otherwise, .
Gets the minimum buffer size to use when renting memory from the .
An integer representing the minimum buffer size.
Gets the to use when allocating memory.
A memory pool instance.