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