Compartir vía


CborReader.ReadStartIndefiniteLengthByteString Method

Definition

Reads the next data item as the start of an indefinite-length byte string (major type 2).

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

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