Function simple_dns::header_buffer::opcode
source ยท pub fn opcode(buffer: &[u8]) -> Result<OPCODE>
Expand description
Get the OPCODE from the buffer
pub fn opcode(buffer: &[u8]) -> Result<OPCODE>
Get the OPCODE from the buffer