6 writes to offset
System.Runtime.Serialization (6)
System\Xml\ValueHandle.cs (6)
104
offset
= (int)constStringType;
130
this.
offset
= offset;
677
this.
offset
+= actual;
687
this.
offset
+= charCount;
811
this.
offset
= byteOffset;
825
this.
offset
+= charCount * sizeof(char);
45 references to offset
System.Runtime.Serialization (45)
System\Xml\ValueHandle.cs (45)
139
return bufferReader.IsWhitespaceUTF8(this.
offset
, this.length);
142
return bufferReader.IsWhitespaceKey(this.
offset
);
151
return bufferReader.IsWhitespaceUTF8(this.
offset
, this.length);
154
return bufferReader.IsWhitespaceUnicode(this.
offset
, this.length);
163
return constStrings[
offset
].Length == 0;
227
return XmlConverter.ToBoolean(bufferReader.Buffer,
offset
, length);
269
return XmlConverter.ToInt32(bufferReader.Buffer,
offset
, length);
298
return XmlConverter.ToInt64(bufferReader.Buffer,
offset
, length);
319
return XmlConverter.ToUInt64(bufferReader.Buffer,
offset
, length);
343
return XmlConverter.ToSingle(bufferReader.Buffer,
offset
, length);
365
return XmlConverter.ToDouble(bufferReader.Buffer,
offset
, length);
383
return XmlConverter.ToDecimal(bufferReader.Buffer,
offset
, length);
395
return XmlConverter.ToDateTime(bufferReader.Buffer,
offset
, length);
405
return XmlConverter.ToUniqueId(bufferReader.Buffer,
offset
, length);
414
return XmlConverter.ToTimeSpan(bufferReader.Buffer,
offset
, length);
423
return XmlConverter.ToGuid(bufferReader.Buffer,
offset
, length);
447
if (bufferReader.Buffer[
offset
+ length - 1] == '=')
450
if (bufferReader.Buffer[
offset
+ length - 2] == '=')
455
int actualLength = Base64Encoding.GetBytes(bufferReader.Buffer, this.
offset
, this.length, buffer, 0);
536
return constStrings[
offset
];
555
byte ch = buffer[i + this.
offset
];
598
writer.WriteEscapedText(bufferReader.Buffer,
offset
, length);
601
writer.WriteBase64Text(bufferReader.Buffer, 0, bufferReader.Buffer,
offset
, length);
620
return bufferReader.GetList(
offset
, length);
686
actual = Base64Encoding.GetBytes(bufferReader.Buffer, this.
offset
, charCount, buffer, offset);
716
int byteOffset = this.
offset
;
823
chars[offset + i] = (char)bufferReader.GetInt16(this.
offset
+ i * sizeof(char));
859
if (length == 1 && bufferReader.GetByte(
offset
) == '1')
861
return bufferReader.GetString(
offset
, length);
867
return bufferReader.GetUnicodeString(
offset
, length);
873
return bufferReader.GetEscapedString(
offset
, length);
896
return
offset
;
902
return bufferReader.GetInt8(
offset
);
908
return bufferReader.GetInt16(
offset
);
914
return bufferReader.GetInt32(
offset
);
920
return bufferReader.GetInt64(
offset
);
926
return bufferReader.GetUInt64(
offset
);
932
return bufferReader.GetSingle(
offset
);
938
return bufferReader.GetDouble(
offset
);
944
return bufferReader.GetDecimal(
offset
);
950
return bufferReader.GetUniqueId(
offset
);
956
return bufferReader.GetGuid(
offset
);
962
bufferReader.GetBase64(this.
offset
, buffer, offset, count);
968
return bufferReader.GetDictionaryString(
offset
);
974
return string.Concat(PrefixHandle.GetString(PrefixHandle.GetAlphaPrefix(length)), ":", bufferReader.GetDictionaryString(
offset
));