16 references to Array
System.Formats.Cbor (16)
System\Formats\Cbor\Reader\CborReader.Array.cs (5)
18
CborInitialByte header = PeekInitialByte(expectedType: CborMajorType.
Array
);
28
PushDataItem(CborMajorType.
Array
, null);
37
PushDataItem(CborMajorType.
Array
, arrayLength);
54
PopDataItem(expectedType: CborMajorType.
Array
);
60
PopDataItem(expectedType: CborMajorType.
Array
);
System\Formats\Cbor\Reader\CborReader.PeekState.cs (3)
35
case CborMajorType.
Array
: return CborReaderState.EndArray;
79
case CborMajorType.
Array
: return CborReaderState.EndArray;
124
case CborMajorType.
Array
: return CborReaderState.StartArray;
System\Formats\Cbor\Writer\CborWriter.Array.cs (6)
42
PopDataItem(CborMajorType.
Array
);
53
WriteUnsignedInteger(CborMajorType.
Array
, (ulong)definiteLength);
54
PushDataItem(CborMajorType.
Array
, definiteLength);
65
WriteInitialByte(new CborInitialByte(CborMajorType.
Array
, CborAdditionalInfo.IndefiniteLength));
66
PushDataItem(CborMajorType.
Array
, definiteLength: null);
72
Debug.Assert(majorType == CborMajorType.
Array
|| majorType == CborMajorType.Map);
System\Formats\Cbor\Writer\CborWriter.cs (2)
401
case CborMajorType.
Array
:
402
PatchIndefiniteLengthCollection(CborMajorType.
Array
, _itemsWritten);