2 writes to _readBuffer
System.Net.Security (2)
System\Net\Security\NegotiateStream.cs (2)
73_readBuffer = Array.Empty<byte>(); 388_readBuffer = new byte[readBytes];
7 references to _readBuffer
System.Net.Security (7)
System\Net\Security\NegotiateStream.cs (7)
357_readBuffer.AsMemory(_readBufferOffset, copyBytes).CopyTo(buffer); 386if (_readBuffer.Length < readBytes) 391readBytes = await ReadAllAsync(InnerStream, new Memory<byte>(_readBuffer, 0, readBytes), allowZeroRead: false, cancellationToken).ConfigureAwait(false); 401!_context.VerifyIntegrityCheck(_readBuffer.AsSpan(NtlmSignatureLength, readBytes - NtlmSignatureLength), _readBuffer.AsSpan(0, NtlmSignatureLength))) 414statusCode = _context.UnwrapInPlace(_readBuffer.AsSpan(0, readBytes), out _readBufferOffset, out _readBufferCount, out _); 431_readBuffer.AsMemory(_readBufferOffset, copyBytes).CopyTo(buffer);