23 references to TextString
System.Formats.Cbor (23)
System\Formats\Cbor\Reader\CborReader.cs (1)
167case CborMajorType.TextString:
System\Formats\Cbor\Reader\CborReader.PeekState.cs (3)
78case CborMajorType.TextString: return CborReaderState.EndIndefiniteLengthTextString; 100case CborMajorType.TextString: 119case CborMajorType.TextString:
System\Formats\Cbor\Reader\CborReader.SkipValue.cs (1)
90SkipString(type: CborMajorType.TextString);
System\Formats\Cbor\Reader\CborReader.String.cs (10)
175CborInitialByte header = PeekInitialByte(expectedType: CborMajorType.TextString); 221CborInitialByte header = PeekInitialByte(expectedType: CborMajorType.TextString); 267CborInitialByte header = PeekInitialByte(expectedType: CborMajorType.TextString); 302CborInitialByte header = PeekInitialByte(expectedType: CborMajorType.TextString); 316PushDataItem(CborMajorType.TextString, definiteLength: null); 327PopDataItem(CborMajorType.TextString); 380List<(int Offset, int Length)> ranges = ReadIndefiniteLengthStringChunkRanges(CborMajorType.TextString, out int encodingLength, out int concatenatedBufferSize); 415List<(int Offset, int Length)> ranges = ReadIndefiniteLengthStringChunkRanges(CborMajorType.TextString, out int encodingLength, out int _); 489Debug.Assert(type == CborMajorType.ByteString || type == CborMajorType.TextString); 498if (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);