Jaa


CborWriter.WriteStartIndefiniteLengthTextString Method

Definition

Writes the start of an indefinite-length UTF-8 string (major type 3).

public:
 void WriteStartIndefiniteLengthTextString();
public void WriteStartIndefiniteLengthTextString ();
member this.WriteStartIndefiniteLengthTextString : unit -> unit
Public Sub WriteStartIndefiniteLengthTextString ()

Exceptions

Writing a new value exceeds the definite length of the parent data item.

-or-

The major type of the encoded value is not permitted in the parent data item.

-or-

The written data is not accepted under the current conformance mode.

Remarks

Pushes a context where definite-length chunks of the same major type can be written. In canonical conformance modes, the writer will reject indefinite-length writes unless the ConvertIndefiniteLengthEncodings flag is enabled.

Applies to