Function simple_dns::header_buffer::id
source ยท pub fn id(buffer: &[u8]) -> Result<u16>
Expand description
Returns the packet id from the header buffer
pub fn id(buffer: &[u8]) -> Result<u16>
Returns the packet id from the header buffer