Share via


CborReader.ReadEndIndefiniteLengthByteString Method

Definition

Ends reading an indefinite-length byte string (major type 2).

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

Exceptions

The current context is not an indefinite-length string.

-or-

The reader is not at the end of the string.

There was an unexpected end of CBOR encoding data.

Applies to