5 references to ActiveSpan
System.Net.Security (5)
System\Net\Security\SslStream.cs (4)
84public Span<byte> DecryptedSpan => _buffer.ActiveSpan.Slice(0, _decryptedLength); 89return _buffer.ActiveSpan.Slice(0, length); 96public Span<byte> EncryptedSpanSliced(int length) => _buffer.ActiveSpan.Slice(_decryptedLength + _decryptedPadding, length); 98public ReadOnlySpan<byte> EncryptedReadOnlySpan => _buffer.ActiveSpan.Slice(_decryptedLength + _decryptedPadding);
System\Net\Security\TlsSession.cs (1)
1655_pendingBuffer.ActiveSpan.Slice(0, n).CopyTo(output);