CborReader.PeekState Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.