6 writes to _offset
System.Private.DataContractSerialization (6)
System\Xml\ValueHandle.cs (6)
91
_offset
= (int)constStringType;
117
_offset
= offset;
665
_offset
+= actual;
675
_offset
+= charCount;
798
_offset
= byteOffset;
812
_offset
+= charCount * sizeof(char);
45 references to _offset
System.Private.DataContractSerialization (45)
System\Xml\ValueHandle.cs (45)
126
return _bufferReader.IsWhitespaceUTF8(
_offset
, _length);
129
return _bufferReader.IsWhitespaceKey(
_offset
);
136
return _bufferReader.IsWhitespaceUTF8(
_offset
, _length);
139
return _bufferReader.IsWhitespaceUnicode(
_offset
, _length);
148
return s_constStrings[
_offset
].Length == 0;
212
return XmlConverter.ToBoolean(_bufferReader.Buffer,
_offset
, _length);
254
return XmlConverter.ToInt32(_bufferReader.Buffer,
_offset
, _length);
283
return XmlConverter.ToInt64(_bufferReader.Buffer,
_offset
, _length);
304
return XmlConverter.ToUInt64(_bufferReader.Buffer,
_offset
, _length);
331
return XmlConverter.ToSingle(_bufferReader.Buffer,
_offset
, _length);
353
return XmlConverter.ToDouble(_bufferReader.Buffer,
_offset
, _length);
371
return XmlConverter.ToDecimal(_bufferReader.Buffer,
_offset
, _length);
383
return XmlConverter.ToDateTime(_bufferReader.Buffer,
_offset
, _length);
393
return XmlConverter.ToUniqueId(_bufferReader.Buffer,
_offset
, _length);
402
return XmlConverter.ToTimeSpan(_bufferReader.Buffer,
_offset
, _length);
411
return XmlConverter.ToGuid(_bufferReader.Buffer,
_offset
, _length);
435
if (_bufferReader.Buffer[
_offset
+ _length - 1] == '=')
438
if (_bufferReader.Buffer[
_offset
+ _length - 2] == '=')
443
int actualLength = DataContractSerializer.Base64Encoding.GetBytes(_bufferReader.Buffer,
_offset
, _length, buffer, 0);
524
return s_constStrings[
_offset
];
543
byte ch = buffer[i +
_offset
];
586
writer.WriteEscapedText(_bufferReader.Buffer,
_offset
, _length);
589
writer.WriteBase64Text(_bufferReader.Buffer, 0, _bufferReader.Buffer,
_offset
, _length);
608
return _bufferReader.GetList(
_offset
, _length);
674
actual = DataContractSerializer.Base64Encoding.GetBytes(_bufferReader.Buffer,
_offset
, charCount, buffer, offset);
704
int byteOffset =
_offset
;
810
chars[offset + i] = (char)_bufferReader.GetInt16(
_offset
+ i * sizeof(char));
845
if (_length == 1 && _bufferReader.GetByte(
_offset
) == '1')
847
return _bufferReader.GetString(
_offset
, _length);
853
return _bufferReader.GetUnicodeString(
_offset
, _length);
859
return _bufferReader.GetEscapedString(
_offset
, _length);
877
return
_offset
;
883
return _bufferReader.GetInt8(
_offset
);
889
return _bufferReader.GetInt16(
_offset
);
895
return _bufferReader.GetInt32(
_offset
);
901
return _bufferReader.GetInt64(
_offset
);
907
return _bufferReader.GetUInt64(
_offset
);
913
return _bufferReader.GetSingle(
_offset
);
919
return _bufferReader.GetDouble(
_offset
);
925
return _bufferReader.GetDecimal(
_offset
);
931
return _bufferReader.GetUniqueId(
_offset
);
937
return _bufferReader.GetGuid(
_offset
);
943
_bufferReader.GetBase64(
_offset
, buffer, offset, count);
949
return _bufferReader.GetDictionaryString(
_offset
);
955
return string.Concat(PrefixHandle.GetString(PrefixHandle.GetAlphaPrefix(_length)), ":", _bufferReader.GetDictionaryString(
_offset
));