[][src]Function ironrdp::write_tpkt_header

pub fn write_tpkt_header(stream: impl Write, length: u16) -> Result<()>

Writes the TPKT header to an output source.

Arguments

  • stream - the output buffer
  • length - the length of the header