20 references to Buffer
System (20)
net\System\Net\mail\Base64Stream.cs (4)
221
Debug.Assert(this.writeState.
Buffer
!= null, "writestate.buffer was null");
330
return ASCIIEncoding.ASCII.GetString(this.WriteState.
Buffer
, 0, this.WriteState.Length);
361
base.Write(WriteState.
Buffer
, 0, WriteState.Length);
527
IAsyncResult result = this.parent.BaseStream.BeginWrite(this.parent.WriteState.
Buffer
, 0, this.parent.WriteState.Length, onWrite, this);
net\System\Net\mail\EightBitStream.cs (2)
83
result = base.BeginWrite(WriteState.
Buffer
, 0, WriteState.Length, callback, state);
119
base.Write(WriteState.
Buffer
, 0, WriteState.Length);
net\System\Net\mail\QEncodedStream.cs (3)
292
return ASCIIEncoding.ASCII.GetString(this.WriteState.
Buffer
, 0, this.WriteState.Length);
311
base.Write(WriteState.
Buffer
, 0, WriteState.Length);
411
IAsyncResult result = this.parent.BaseStream.BeginWrite(this.parent.WriteState.
Buffer
, 0, this.parent.WriteState.Length, onWrite, this);
net\System\Net\mail\QuotedPrintableStream.cs (8)
253
if (WriteState.
Buffer
.Length - WriteState.Length < sizeOfSoftCRLF)
266
if (WriteState.
Buffer
.Length - WriteState.Length < (encodeCRLF ? sizeOfEncodedCRLF : sizeOfNonEncodedCRLF))
282
if (WriteState.
Buffer
.Length - WriteState.Length < sizeOfSoftCRLF)
294
if (WriteState.
Buffer
.Length - WriteState.Length < 1)
301
if (WriteState.
Buffer
.Length - WriteState.Length < sizeOfEncodedChar)
326
return ASCIIEncoding.ASCII.GetString(this.WriteState.
Buffer
, 0, this.WriteState.Length);
344
base.Write(WriteState.
Buffer
, 0, WriteState.Length);
443
IAsyncResult result = this.parent.BaseStream.BeginWrite(this.parent.WriteState.
Buffer
, 0, this.parent.WriteState.Length, onWrite, this);
net\System\Net\mail\WriteStateInfoBase.cs (3)
93
int newsize =
Buffer
.Length;
99
if (newsize >
Buffer
.Length)
112
this.
Buffer
[this._currentBufferUsed++] = aByte;