Jagamisviis:


CborReaderState Enum

Definition

Specifies the state of a CborReader instance.

public enum class CborReaderState
public enum CborReaderState
type CborReaderState = 
Public Enum CborReaderState
Inheritance
CborReaderState

Fields

Name Value Description
Undefined 0

Indicates the undefined state.

UnsignedInteger 1

Indicates that the next CBOR data item is an unsigned integer (major type 0).

NegativeInteger 2

Indicates that the next CBOR data item is a negative integer (major type 1).

ByteString 3

Indicates that the next CBOR data item is a byte string (major type 2).

StartIndefiniteLengthByteString 4

Indicates that the next CBOR data item denotes the start of an indefinite-length byte string (major type 2).

EndIndefiniteLengthByteString 5

Indicates that the reader is at the end of an indefinite-length byte string (major type 2).

TextString 6

Indicates that the next CBOR data item is a UTF-8 string (major type 3).

StartIndefiniteLengthTextString 7

Indicates that the next CBOR data item denotes the start of an indefinite-length UTF-8 text string (major type 3).

EndIndefiniteLengthTextString 8

Indicates that the reader is at the end of an indefinite-length UTF-8 text string (major type 3).

StartArray 9

Indicates that the next CBOR data item denotes the start of an array (major type 4).

EndArray 10

Indicates that the reader is at the end of an array (major type 4).

StartMap 11

Indicates that the next CBOR data item denotes the start of a map (major type 5).

EndMap 12

Indicates that the reader is at the end of a map (major type 5).

Tag 13

Indicates that the next CBOR data item is a semantic tag (major type 6).

SimpleValue 14

Indicates that the next CBOR data item is a simple value (major type 7).

HalfPrecisionFloat 15

Indicates that the next CBOR data item is an IEEE 754 Half-Precision float (major type 7).

SinglePrecisionFloat 16

Indicates that the next CBOR data item is an IEEE 754 Single-Precision float (major type 7).

DoublePrecisionFloat 17

Indicates that the next CBOR data item is an IEEE 754 Double-Precision float (major type 7).

Null 18

Indicates that the next CBOR data item is a null literal (major type 7).

Boolean 19

Indicates that the next CBOR data item encodes a Boolean value (major type 7).

Finished 20

Indicates that the reader has completed reading a full CBOR document.

If AllowMultipleRootLevelValues is set to false, the reader will report this value even if the buffer contains trailing bytes.

Applies to