1 write to _writeBuffer
System.Net.Security (1)
System\Net\Security\NegotiateStream.cs (1)
786_writeBuffer = new ArrayBufferWriter<byte>();
8 references to _writeBuffer
System.Net.Security (8)
System\Net\Security\NegotiateStream.cs (8)
507Debug.Assert(_writeBuffer is not null); 529_context.ComputeIntegrityCheck(bufferToWrap.Span, _writeBuffer); 530_writeBuffer.Write(bufferToWrap.Span); 535statusCode = _context.Wrap(bufferToWrap.Span, _writeBuffer, isEncrypted, out _); 544BinaryPrimitives.WriteInt32LittleEndian(_writeHeader, _writeBuffer.WrittenCount); 547await TIOAdapter.WriteAsync(InnerStream, _writeBuffer.WrittenMemory, cancellationToken).ConfigureAwait(false); 549_writeBuffer.Clear(); 558_writeBuffer.Clear();