Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines a class that provides a pipeline to which data can be written.
public ref class PipeWriter abstract : System::Buffers::IBufferWriter<System::Byte>
public abstract class PipeWriter : System.Buffers.IBufferWriter<byte>
type PipeWriter = class interface IBufferWriter<byte>
Public MustInherit Class PipeWriter Implements IBufferWriter(Of Byte)
Initializes a new instance of the class.
Gets a value that indicates whether the current PipeWriter supports reporting the count of unflushed bytes.
When overridden in a derived class, gets the count of unflushed bytes within the current writer.
Notifies the PipeWriter that
Returns a Stream representation of the PipeWriter.
Cancels the pending FlushAsync(CancellationToken) or WriteAsync(ReadOnlyMemory<Byte>, CancellationToken) operation without causing the operation to throw and without completing the PipeWriter. If there is no pending operation, this cancels the next operation.
Marks the PipeWriter as being complete, meaning no more items will be written to it.
Marks the current pipe writer instance as being complete, meaning no more data will be written to it.
Asynchronously reads the bytes from the specified stream and writes them to the PipeWriter.
Creates a PipeWriter wrapping the specified Stream.
Determines whether the specified object is equal to the current object.(Inherited from Object)
Makes bytes written available to PipeReader and runs ReadAsync(CancellationToken) continuation.
Serves as the default hash function.(Inherited from Object)
Returns a Memory<T> to write to that is at least the requested size, as specified by the
Returns a Span<T> to write to that is at least the requested size, as specified by the
Gets the Type of the current instance.(Inherited from Object)
Creates a shallow copy of the current Object.(Inherited from Object)
Registers a callback that executes when the PipeReader side of the pipe is completed.
Returns a string that represents the current object.(Inherited from Object)
Writes the specified byte memory range to the pipe and makes data accessible to the PipeReader.