[][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 code
  • data - the message data to be encoded
  • output - the output buffer for the encoded data