simple_dns::header_buffer

Function opcode

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

Get the OPCODE from the buffer