CborReader.ReadEndMap Method

Definition

Reads the end of a map (major type 5).

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

Exceptions

The current context is not a map.

-or-

The reader is not at the end of the map.

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