Utf8JsonWriter.BytesCommitted Property

Definition

Gets the total number of bytes committed to the output by the current instance so far.

public:
 property long BytesCommitted { long get(); };
public long BytesCommitted { get; }
member this.BytesCommitted : int64
Public ReadOnly Property BytesCommitted As Long

Property Value

The total number of bytes committed to the output by the Utf8JsonWriter so far.

Remarks

In the case of an IBufferWriter<T>, this property indicates how much the IBufferWriter has advanced.

In the case of a Stream, this property indicates how much data has been written to the stream.

Applies to