CborReader.ReadEndArray Method

Definition

Reads the end of an array (major type 4).

public void ReadEndArray();

Exceptions

The current context is not an array.

-or-

The reader is not at the end of the array.

The next value has an invalid CBOR encoding.

-or-

There was an unexpected end of CBOR encoding data.

Applies to

Produit Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)