[][src]Function ironrdp::read_tpkt_len

pub fn read_tpkt_len(stream: impl Read) -> Result<u64>

Reads a data source containing the TPKT header and returns its length upon success.

Arguments

  • stream - the data type that contains the header