[−][src]Function ironrdp::encode_x224
pub fn encode_x224(
code: X224TPDUType,
data: BytesMut,
output: &mut BytesMut
) -> Result<()>
Encodes and writes the message to an output buffer composed from a request code and a data buffer provided by the arguments.
Arguments
code
- the X.224 request type codedata
- the message data to be encodedoutput
- the output buffer for the encoded data