4 writes to Length
System.Net.Security (4)
System\Net\Security\TlsFrameHelper.cs (4)
173
header.
Length
= -1;
182
header.
Length
= ((frame[3] << 8) | frame[4]) + HeaderSize;
208
header.
Length
= length;
214
header.
Length
= -1;
11 references to Length
System.Net.Security (11)
System\Net\Security\SslStream.IO.cs (2)
573
frameSize = nextHeader.
Length
;
1118
return _lastFrame.Header.
Length
;
System\Net\Security\TlsFrameHelper.cs (6)
91
public override string ToString() => $"{Version}:{Type}[{
Length
}]";
132
return $"{Header.Version}:{HandshakeType}[{Header.
Length
}] TargetName='{TargetName}' SupportedVersion='{SupportedVersions}' ApplicationProtocols='{ApplicationProtocols}'";
136
return $"{Header.Version}:{HandshakeType}[{Header.
Length
}] SupportedVersion='{SupportedVersions}' ApplicationProtocols='{ApplicationProtocols}'";
140
return $"{Header.Version}:{HandshakeType}[{Header.
Length
}] SupportedVersion='{SupportedVersions}'";
145
return $"{Header.Version}:{Header.Type}[{Header.
Length
}]";
276
bool isComplete = frame.Length >= info.Header.
Length
;
System\Net\Security\TlsSession.cs (3)
899
if (input.Length < frameHeader.
Length
)
1251
int frameSize = header.
Length
;
1605
frameLength = frameInfo.Header.
Length
;