7 references to HeaderSize
System.Net.Security (7)
System\Net\Security\SslStream.IO.cs (3)
495while (_buffer.EncryptedLength - chunkSize > TlsFrameHelper.HeaderSize) 768if (frameSize == int.MaxValue && _buffer.EncryptedLength > TlsFrameHelper.HeaderSize) 1014if (buffer.Length < TlsFrameHelper.HeaderSize)
System\Net\Security\TlsFrameHelper.cs (4)
173if (frame.Length < HeaderSize) 184header.Length = ((frame[3] << 8) | frame[4]) + HeaderSize; 230if (frame.Length < HeaderSize) 281if (!TryParseHelloFrame(frame.Slice(HeaderSize), ref info, options, callback))