Skip to content

Utf8JsonWriter.BytesCommitted Property

Definition

Namespace: Corvus.Text.Json
Assembly: Corvus.Text.Json.dll
Source: Utf8JsonWriter.cs

BytesCommitted()

Returns the amount of bytes committed to the output by the Utf8JsonWriter so far.

public long BytesCommitted { get; set; }

Returns

long

Remarks

In the case of IBufferwriter, this is how much the IBufferWriter has advanced. In the case of Stream, this is how much data has been written to the stream.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests.

Open an issue