Function cdns_rs::a_sync::common::pkt2name

source ·
pub async fn pkt2name(pkt: &mut Cursor<&[u8]>) -> CDnsResult<Vec<u8>>
Expand description

Verifies the sequence of labels coding and copies data from pkt to buffer.

§Arguments

  • pkt - a reference to the Cursor

§Returns