Compartilhar via


CborReader.PeekState Method

Definition

Reads the next CBOR token, without advancing the reader.

public:
 System::Formats::Cbor::CborReaderState PeekState();
public System.Formats.Cbor.CborReaderState PeekState ();
member this.PeekState : unit -> System.Formats.Cbor.CborReaderState
Public Function PeekState () As CborReaderState

Returns

An object that represents the current CBOR reader state.

Exceptions

The underlying data is not a well-formed CBOR encoding.

Applies to