4 references to TryGetFrameHeader
System.Net.Security (4)
System\Net\Security\SslStream.IO.cs (3)
499
if (!TlsFrameHelper.
TryGetFrameHeader
(availableData.Slice(chunkSize), ref nextHeader))
932
TlsFrameHelper.
TryGetFrameHeader
(_buffer.EncryptedReadOnlySpan, ref _lastFrame.Header);
1019
if (!TlsFrameHelper.
TryGetFrameHeader
(buffer, ref _lastFrame.Header))
System\Net\Security\TlsFrameHelper.cs (1)
236
bool gotHeader =
TryGetFrameHeader
(frame, ref info.Header);