net\System\Net\mail\QEncodedStream.cs (21)
236((WriteState.CurrentLineLength + sizeOfFoldingCRLF + WriteState.FooterLength >= WriteState.MaxLineLength)
239|| (WriteState.CurrentLineLength + writeState.FooterLength >= WriteState.MaxLineLength)
242WriteState.AppendCRLF(true);
254WriteState.Append((byte)'=', (byte)'0', (byte)'D', (byte)'=', (byte)'0', (byte)'A');
261WriteState.Append((byte)'_');
268WriteState.Append(buffer[cur]);
273WriteState.Append((byte)'=');
275WriteState.Append(hexEncodeMap[buffer[cur] >> 4]);
277WriteState.Append(hexEncodeMap[buffer[cur] & 0xF]);
280WriteState.AppendFooter();
292return ASCIIEncoding.ASCII.GetString(this.WriteState.Buffer, 0, this.WriteState.Length);
311base.Write(WriteState.Buffer, 0, WriteState.Length);
312WriteState.Reset();
377this.parent.WriteState.Reset();
411IAsyncResult result = this.parent.BaseStream.BeginWrite(this.parent.WriteState.Buffer, 0, this.parent.WriteState.Length, onWrite, this);