24 references to TextString
System.Formats.Cbor (24)
System\Formats\Cbor\Reader\CborReader.cs (1)
256case CborMajorType.TextString:
System\Formats\Cbor\Reader\CborReader.PeekState.cs (4)
95case CborMajorType.TextString: return CborReaderState.EndIndefiniteLengthTextString; 117case CborMajorType.TextString: 142case CborMajorType.TextString: 225case CborMajorType.TextString:
System\Formats\Cbor\Reader\CborReader.SkipValue.cs (1)
146SkipString(type: CborMajorType.TextString);
System\Formats\Cbor\Reader\CborReader.String.cs (10)
179CborInitialByte header = PeekInitialByte(expectedType: CborMajorType.TextString); 225CborInitialByte header = PeekInitialByte(expectedType: CborMajorType.TextString); 275CborInitialByte header = PeekInitialByte(expectedType: CborMajorType.TextString); 310CborInitialByte header = PeekInitialByte(expectedType: CborMajorType.TextString); 324PushDataItem(CborMajorType.TextString, definiteLength: null); 335PopDataItem(CborMajorType.TextString); 388List<(int Offset, int Length)> ranges = ReadIndefiniteLengthStringChunkRanges(CborMajorType.TextString, out int encodingLength, out int concatenatedBufferSize); 423List<(int Offset, int Length)> ranges = ReadIndefiniteLengthStringChunkRanges(CborMajorType.TextString, out int encodingLength, out int _); 497Debug.Assert(type == CborMajorType.ByteString || type == CborMajorType.TextString); 506if (type == CborMajorType.TextString && _isConformanceModeCheckEnabled &&
System\Formats\Cbor\Writer\CborWriter.cs (2)
423case CborMajorType.TextString: 450case CborMajorType.TextString:
System\Formats\Cbor\Writer\CborWriter.String.cs (6)
137WriteUnsignedInteger(CborMajorType.TextString, (ulong)length); 140if (ConvertIndefiniteLengthEncodings && _currentMajorType == CborMajorType.TextString) 183WriteInitialByte(new CborInitialByte(CborMajorType.TextString, CborAdditionalInfo.IndefiniteLength)); 184PushDataItem(CborMajorType.TextString, definiteLength: null); 191PopDataItem(CborMajorType.TextString); 198Debug.Assert(type == CborMajorType.ByteString || type == CborMajorType.TextString);