A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://dotnet.github.io/dotNext/api/DotNext.IO.StreamConsumer.html below:

Struct StreamConsumer | .NEXT

Struct StreamConsumer

Represents implementation of IReadOnlySpanConsumer<T> in the form of the writer to Stream.

Namespace: DotNext.IO Assembly: DotNext.dll Syntax
public 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.

Declaration
public StreamConsumer(Stream output)
Parameters Type Name Description Stream output

The writable stream.

Properties | Edit this page View Source IsEmpty

Gets a value indicating that the underlying stream is null.

Declaration
public bool IsEmpty { get; }
Property Value Methods | Edit this page View Source ToString()

Returns a string that represents the underlying stream.

Declaration
public 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.

Declaration
public static implicit operator StreamConsumer(Stream output)
Parameters Type Name Description Stream output

The writable stream.

Returns Exceptions Implements Extension Methods

RetroSearch 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