4 writes to Length
System.Net.Security (4)
System\Net\Security\TlsFrameHelper.cs (4)
175
header.
Length
= -1;
184
header.
Length
= ((frame[3] << 8) | frame[4]) + HeaderSize;
210
header.
Length
= length;
215
header.
Length
= -1;
9 references to Length
System.Net.Security (9)
System\Net\Security\SslStream.IO.cs (3)
504
frameSize = nextHeader.
Length
;
1024
if (_lastFrame.Header.
Length
< 0)
1030
return _lastFrame.Header.
Length
;
System\Net\Security\TlsFrameHelper.cs (6)
92
public override string ToString() => $"{Version}:{Type}[{
Length
}]";
134
return $"{Header.Version}:{HandshakeType}[{Header.
Length
}] TargetName='{TargetName}' SupportedVersion='{SupportedVersions}' ApplicationProtocols='{ApplicationProtocols}'";
138
return $"{Header.Version}:{HandshakeType}[{Header.
Length
}] SupportedVersion='{SupportedVersions}' ApplicationProtocols='{ApplicationProtocols}'";
142
return $"{Header.Version}:{HandshakeType}[{Header.
Length
}] SupportedVersion='{SupportedVersions}'";
147
return $"{Header.Version}:{Header.Type}[{Header.
Length
}]";
274
bool isComplete = frame.Length >= info.Header.
Length
;