DotNext by .NET Foundation and Contributors

<PackageReference Include="DotNext" Version="4.3.0" />

 StreamConsumer

Represents implementation of IReadOnlySpanConsumer<T> in the form of the writer to Stream.
public bool IsEmpty { get; }

Gets a value indicating that the underlying stream is null.

public StreamConsumer(Stream output)

Wraps the stream.

public static bool op_Equality(StreamConsumer x, StreamConsumer y)

Determines whether the two objects contain references to the same stream instance.

public static StreamConsumer op_Implicit(Stream output)

Wraps the stream.

public static bool op_Inequality(StreamConsumer x, StreamConsumer y)

Determines whether the two objects contain references to the different stream instances.

public bool Equals(StreamConsumer other)

Determines whether this object contains the same stream instance as the specified object.