[−][src]Function ironrdp::parse_negotiation_request
pub fn parse_negotiation_request(
code: X224TPDUType,
slice: &[u8]
) -> Result<(Option<NegoData>, SecurityProtocol, NegotiationRequestFlags)>
Parses the negotiation request represented by the arguments and returns a tuple with negotiation data (optional), a security protocol, and negotiation request flags.
Arguments
code
- the type of the X.224 requestslice
- the input buffer of the request