Closed wgreenberg closed 8 months ago
We should have a way to de/serialize diag requests and responses, ideally in a way that makes it easy to shove response data into pcap structs like https://docs.rs/pcap-file/latest/pcap_file/pcap/struct.PcapPacket.html. I dunno if a full serde type thing is needed here, and I've had luck w/ https://docs.rs/deku/latest/deku/ in the past for binary parsing.
We should have a way to de/serialize diag requests and responses, ideally in a way that makes it easy to shove response data into pcap structs like https://docs.rs/pcap-file/latest/pcap_file/pcap/struct.PcapPacket.html. I dunno if a full serde type thing is needed here, and I've had luck w/ https://docs.rs/deku/latest/deku/ in the past for binary parsing.