10 references to DecryptedLength
System.Net.Security (10)
System\Net\Security\SslStream.cs (2)
88
Debug.Assert(length <=
DecryptedLength
);
754
if (_buffer.
DecryptedLength
> 0)
System\Net\Security\SslStream.IO.cs (8)
839
if (_buffer.
DecryptedLength
!= 0)
859
Debug.Assert(_buffer.
DecryptedLength
== 0);
874
if (_buffer.
DecryptedLength
!= 0)
876
extraBuffer = new byte[_buffer.
DecryptedLength
];
879
_buffer.Discard(_buffer.
DecryptedLength
);
905
if (_buffer.
DecryptedLength
> 0)
999
Debug.Assert(_buffer.
DecryptedLength
> 0);
1001
int copyBytes = Math.Min(_buffer.
DecryptedLength
, buffer.Length);