10 writes to trailByteCount
System.Runtime.Serialization (10)
36 references to trailByteCount
System.Runtime.Serialization (36)
System\Xml\XmlBaseWriter.cs (36)
1320if (trailByteCount > 0)
1322while (trailByteCount < 3 && count > 0)
1329int totalByteCount = trailByteCount + count;
1341WriteAttributeText(XmlConverter.Base64Encoding.GetString(trailBytes, 0, trailByteCount));
1342WriteAttributeText(XmlConverter.Base64Encoding.GetString(buffer, offset, actualByteCount - trailByteCount));
1348writer.WriteBase64Text(trailBytes, trailByteCount, buffer, offset, actualByteCount - trailByteCount);
1353if (trailByteCount > 0)
1355int trailOffset = offset + count - trailByteCount;
1356for (int i = 0; i < trailByteCount; i++)
1362Buffer.BlockCopy(buffer, offset, trailBytes, trailByteCount, count);
1422if (writer.trailByteCount > 0)
1424while (writer.trailByteCount < 3 && this.count > 0)
1431this.totalByteCount = writer.trailByteCount + this.count;
1443writer.WriteAttributeText(XmlConverter.Base64Encoding.GetString(writer.trailBytes, 0, writer.trailByteCount));
1444writer.WriteAttributeText(XmlConverter.Base64Encoding.GetString(buffer, this.offset, actualByteCount - writer.trailByteCount));
1452Buffer.BlockCopy(buffer, this.offset, writer.trailBytes, writer.trailByteCount, this.count);
1478this.writer.trailByteCount,
1481this.actualByteCount - this.writer.trailByteCount,
1495if (this.writer.trailByteCount > 0)
1497int trailOffset = offset + count - this.writer.trailByteCount;
1498for (int i = 0; i < this.writer.trailByteCount; i++)
1683if (trailByteCount > 0)
1692WriteAttributeText(XmlConverter.Base64Encoding.GetString(trailBytes, 0, trailByteCount));
1697writer.WriteBase64Text(trailBytes, trailByteCount, trailBytes, 0, 0);
2508if (this.writer.trailByteCount > 0)
2511while (this.writer.trailByteCount < 3 && this.count > 0)
2518this.totalByteCount = this.writer.trailByteCount + this.count;
2530this.writer.WriteAttributeText(XmlConverter.Base64Encoding.GetString(this.writer.trailBytes, 0, this.writer.trailByteCount));
2531this.writer.WriteAttributeText(XmlConverter.Base64Encoding.GetString(this.buffer, this.offset, actualByteCount - this.writer.trailByteCount));
2539Buffer.BlockCopy(this.buffer, this.offset, this.writer.trailBytes, this.writer.trailByteCount, this.count);
2609this.nodeWriterArgs.TrailCount = this.writer.trailByteCount;
2612this.nodeWriterArgs.Count = this.actualByteCount - this.writer.trailByteCount;
2627if (this.writer.trailByteCount > 0)
2629int trailOffset = offset + count - this.writer.trailByteCount;
2630for (int i = 0; i < this.writer.trailByteCount; i++)