This library provides parsing capaibilities for btsnoop logs.
[dependencies]
btsnoop = "0.1.0"
```rust use btsnoop::parsebtsnoopfile;
let btsnoopbytes: &[u8] = includebytes!("btsnoophci.log"); let file: btsnoop::File = parsebtsnoopfile(btsnoopbytes).unwrap(); for packet in file.packets { println!("Packet={:x?}", packet.packet_data); } ```