DotNext by .NET Foundation and Contributors

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

 BufferConsumer<T>

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

Gets a value indicating that the underlying buffer is null.

public BufferConsumer(IBufferWriter<T> output)

Wraps the buffer writer.

public static bool op_Equality(BufferConsumer<T> left, BufferConsumer<T> right)

public static bool op_Inequality(BufferConsumer<T> left, BufferConsumer<T> right)

public bool Equals(BufferConsumer<T> other)