Function dhcp4r::packet::decode [] [src]

pub fn decode(p: &[u8]) -> Result<Packet, &'static str>

Parses Packet from byte array