CborReader.ReadStartIndefiniteLengthTextString Method

Definition

Reads the next data item as the start of an indefinite-length UTF-8 text string (major type 3).

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

Exceptions

The next data item does not have the correct major type.

-or-

The next data item is a definite-length encoded string.

The next value has an invalid CBOR encoding.

-or-

There was an unexpected end of CBOR encoding data.

-or-

The next value uses a CBOR encoding that is not valid under the current conformance mode.

Applies to