Represents implementation of IReadOnlySpanConsumer<T> in the form of the writer to Stream.
Namespace: DotNext.IO Assembly: DotNext.dll Syntaxpublic readonly record struct StreamConsumer : IReadOnlySpanConsumer<byte>, ISupplier<ReadOnlyMemory<byte>, CancellationToken, ValueTask>, IFunctional<Func<ReadOnlyMemory<byte>, CancellationToken, ValueTask>>, IEquatable<StreamConsumer>, IFlushable
Constructors | Edit this page View Source StreamConsumer(Stream)
Represents implementation of IReadOnlySpanConsumer<T> in the form of the writer to Stream.
Declarationpublic StreamConsumer(Stream output)
Parameters Type Name Description Stream output
The writable stream.
Properties | Edit this page View Source IsEmptyGets a value indicating that the underlying stream is null.
Declarationpublic bool IsEmpty { get; }
Property Value Methods | Edit this page View Source ToString()
Returns a string that represents the underlying stream.
Declarationpublic override string? ToString()
Returns Type Description string
A string that represents the underlying stream.
Overrides Operators | Edit this page View Source implicit operator StreamConsumer(Stream)Wraps the stream.
Declarationpublic static implicit operator StreamConsumer(Stream output)
Parameters Type Name Description Stream output
The writable stream.
Returns Exceptions Implements Extension MethodsRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4