simple_dns::header_buffer

Function id

source
pub fn id(buffer: &[u8]) -> Result<u16>
Expand description

Returns the packet id from the header buffer