65 references to CborAdditionalInfo
System.Formats.Cbor (65)
System\Formats\Cbor\CborInitialByte.cs (3)
45
public CborInitialByte(CborMajorType majorType,
CborAdditionalInfo
additionalInfo)
59
public
CborAdditionalInfo
AdditionalInfo => (
CborAdditionalInfo
)(InitialByte & AdditionalInformationMask);
System\Formats\Cbor\Reader\CborReader.Array.cs (1)
20
if (header.AdditionalInfo ==
CborAdditionalInfo
.IndefiniteLength)
System\Formats\Cbor\Reader\CborReader.cs (1)
141
nextByte.AdditionalInfo !=
CborAdditionalInfo
.IndefiniteLength)
System\Formats\Cbor\Reader\CborReader.Integer.cs (7)
163
case
CborAdditionalInfo
x when (x <
CborAdditionalInfo
.Additional8BitData):
167
case
CborAdditionalInfo
.Additional8BitData:
171
if (result < (int)
CborAdditionalInfo
.Additional8BitData)
179
case
CborAdditionalInfo
.Additional16BitData:
191
case
CborAdditionalInfo
.Additional32BitData:
203
case
CborAdditionalInfo
.Additional64BitData:
System\Formats\Cbor\Reader\CborReader.Map.cs (1)
35
if (header.AdditionalInfo ==
CborAdditionalInfo
.IndefiniteLength)
System\Formats\Cbor\Reader\CborReader.PeekState.cs (9)
115
return (initialByte.AdditionalInfo ==
CborAdditionalInfo
.IndefiniteLength) ?
120
return (initialByte.AdditionalInfo ==
CborAdditionalInfo
.IndefiniteLength) ?
133
static CborReaderState MapSimpleValueDataToReaderState(
CborAdditionalInfo
value)
139
case (
CborAdditionalInfo
)CborSimpleValue.Null:
141
case (
CborAdditionalInfo
)CborSimpleValue.True:
142
case (
CborAdditionalInfo
)CborSimpleValue.False:
144
case
CborAdditionalInfo
.Additional16BitData:
146
case
CborAdditionalInfo
.Additional32BitData:
148
case
CborAdditionalInfo
.Additional64BitData:
System\Formats\Cbor\Reader\CborReader.Simple.cs (13)
30
case
CborAdditionalInfo
.Additional16BitData:
37
case
CborAdditionalInfo
.Additional32BitData:
44
case
CborAdditionalInfo
.Additional64BitData:
71
case
CborAdditionalInfo
.Additional16BitData:
78
case
CborAdditionalInfo
.Additional32BitData:
85
case
CborAdditionalInfo
.Additional64BitData:
113
(
CborAdditionalInfo
)CborSimpleValue.False => false,
114
(
CborAdditionalInfo
)CborSimpleValue.True => true,
138
case (
CborAdditionalInfo
)CborSimpleValue.Null:
163
case
CborAdditionalInfo
info when info <
CborAdditionalInfo
.Additional8BitData:
167
case
CborAdditionalInfo
.Additional8BitData:
171
if (value <= (byte)
CborAdditionalInfo
.IndefiniteLength &&
System\Formats\Cbor\Reader\CborReader.Simple.netcoreapp.cs (3)
30
case
CborAdditionalInfo
.Additional16BitData:
36
case
CborAdditionalInfo
.Additional32BitData:
37
case
CborAdditionalInfo
.Additional64BitData:
System\Formats\Cbor\Reader\CborReader.String.cs (8)
31
if (header.AdditionalInfo ==
CborAdditionalInfo
.IndefiniteLength)
66
if (header.AdditionalInfo ==
CborAdditionalInfo
.IndefiniteLength)
108
if (header.AdditionalInfo ==
CborAdditionalInfo
.IndefiniteLength)
136
if (header.AdditionalInfo !=
CborAdditionalInfo
.IndefiniteLength)
176
if (header.AdditionalInfo ==
CborAdditionalInfo
.IndefiniteLength)
222
if (header.AdditionalInfo ==
CborAdditionalInfo
.IndefiniteLength)
268
if (header.AdditionalInfo ==
CborAdditionalInfo
.IndefiniteLength)
303
if (header.AdditionalInfo !=
CborAdditionalInfo
.IndefiniteLength)
System\Formats\Cbor\Writer\CborWriter.Array.cs (1)
65
WriteInitialByte(new CborInitialByte(CborMajorType.Array,
CborAdditionalInfo
.IndefiniteLength));
System\Formats\Cbor\Writer\CborWriter.cs (1)
377
initialByte.AdditionalInfo ==
CborAdditionalInfo
.IndefiniteLength)
System\Formats\Cbor\Writer\CborWriter.Integer.cs (7)
87
if (value < (byte)
CborAdditionalInfo
.Additional8BitData)
90
WriteInitialByte(new CborInitialByte(type, (
CborAdditionalInfo
)value));
95
WriteInitialByte(new CborInitialByte(type,
CborAdditionalInfo
.Additional8BitData));
101
WriteInitialByte(new CborInitialByte(type,
CborAdditionalInfo
.Additional16BitData));
108
WriteInitialByte(new CborInitialByte(type,
CborAdditionalInfo
.Additional32BitData));
115
WriteInitialByte(new CborInitialByte(type,
CborAdditionalInfo
.Additional64BitData));
123
if (value < (byte)
CborAdditionalInfo
.Additional8BitData)
System\Formats\Cbor\Writer\CborWriter.Map.cs (1)
84
WriteInitialByte(new CborInitialByte(CborMajorType.Map,
CborAdditionalInfo
.IndefiniteLength));
System\Formats\Cbor\Writer\CborWriter.Simple.cs (6)
65
WriteInitialByte(new CborInitialByte(CborMajorType.Simple,
CborAdditionalInfo
.Additional32BitData));
74
WriteInitialByte(new CborInitialByte(CborMajorType.Simple,
CborAdditionalInfo
.Additional64BitData));
113
if (value < (CborSimpleValue)
CborAdditionalInfo
.Additional8BitData)
116
WriteInitialByte(new CborInitialByte(CborMajorType.Simple, (
CborAdditionalInfo
)value));
118
else if (value <= (CborSimpleValue)
CborAdditionalInfo
.IndefiniteLength &&
126
WriteInitialByte(new CborInitialByte(CborMajorType.Simple,
CborAdditionalInfo
.Additional8BitData));
System\Formats\Cbor\Writer\CborWriter.Simple.netcoreapp.cs (1)
23
WriteInitialByte(new CborInitialByte(CborMajorType.Simple,
CborAdditionalInfo
.Additional16BitData));
System\Formats\Cbor\Writer\CborWriter.String.cs (2)
88
WriteInitialByte(new CborInitialByte(CborMajorType.ByteString,
CborAdditionalInfo
.IndefiniteLength));
185
WriteInitialByte(new CborInitialByte(CborMajorType.TextString,
CborAdditionalInfo
.IndefiniteLength));