4 writes to Length
System.Net.Security (4)
System\Net\Security\TlsFrameHelper.cs (4)
174
header.
Length
= -1;
183
header.
Length
= ((frame[3] << 8) | frame[4]) + HeaderSize;
209
header.
Length
= length;
214
header.
Length
= -1;
9 references to Length
System.Net.Security (9)
System\Net\Security\SslStream.IO.cs (3)
555
frameSize = nextHeader.
Length
;
1121
if (_lastFrame.Header.
Length
< 0)
1127
return _lastFrame.Header.
Length
;
System\Net\Security\TlsFrameHelper.cs (6)
92
public override string ToString() => $"{Version}:{Type}[{
Length
}]";
133
return $"{Header.Version}:{HandshakeType}[{Header.
Length
}] TargetName='{TargetName}' SupportedVersion='{SupportedVersions}' ApplicationProtocols='{ApplicationProtocols}'";
137
return $"{Header.Version}:{HandshakeType}[{Header.
Length
}] SupportedVersion='{SupportedVersions}' ApplicationProtocols='{ApplicationProtocols}'";
141
return $"{Header.Version}:{HandshakeType}[{Header.
Length
}] SupportedVersion='{SupportedVersions}'";
146
return $"{Header.Version}:{Header.Type}[{Header.
Length
}]";
273
bool isComplete = frame.Length >= info.Header.
Length
;