19 references to Buffer
System.Net.Mail (19)
System\Net\Base64Stream.cs (2)
168
await base.WriteAsync(WriteState.
Buffer
.AsMemory(0, WriteState.Length), cancellationToken).ConfigureAwait(false);
177
base.Write(WriteState.
Buffer
, 0, WriteState.Length);
System\Net\Mime\ByteEncoder.cs (2)
15
public string GetEncodedString() => Encoding.ASCII.GetString(WriteState.
Buffer
, 0, WriteState.Length);
58
Debug.Assert(WriteState.
Buffer
!= null, "writestate.buffer was null");
System\Net\Mime\EightBitStream.cs (2)
62
result = base.BeginWrite(WriteState.
Buffer
, 0, WriteState.Length, callback, state);
92
base.Write(WriteState.
Buffer
, 0, WriteState.Length);
System\Net\Mime\QEncodedStream.cs (2)
201
await base.WriteAsync(WriteState.
Buffer
.AsMemory(0, WriteState.Length), cancellationToken).ConfigureAwait(false);
212
base.Write(WriteState.
Buffer
, 0, WriteState.Length);
System\Net\Mime\QuotedPrintableStream.cs (8)
215
if (WriteState.
Buffer
.Length - WriteState.Length < SizeOfSoftCRLF)
230
if (WriteState.
Buffer
.Length - WriteState.Length < (_encodeCRLF ? SizeOfEncodedCRLF : SizeOfNonEncodedCRLF))
251
if (WriteState.
Buffer
.Length - WriteState.Length < SizeOfSoftCRLF)
265
if (WriteState.
Buffer
.Length - WriteState.Length < 1)
274
if (WriteState.
Buffer
.Length - WriteState.Length < SizeOfEncodedChar)
301
public string GetEncodedString() => Encoding.ASCII.GetString(WriteState.
Buffer
, 0, WriteState.Length);
316
await base.WriteAsync(WriteState.
Buffer
.AsMemory(0, WriteState.Length), cancellationToken).ConfigureAwait(false);
327
base.Write(WriteState.
Buffer
, 0, WriteState.Length);
System\Net\Mime\WriteStateInfoBase.cs (3)
57
int newsize =
Buffer
.Length;
63
if (newsize >
Buffer
.Length)
76
Buffer
[_currentBufferUsed++] = aByte;