radiotap
A parser for the Radiotap capture format.
Getting started
Add to your project with
cargo add radiotap
or directly editing your Cargo.toml
[dependencies]
radiotap = "1.0.0"
See the documentation here.
Example usage
See examples/ for more.
The Radiotap::from_bytes(&capture)
constructor will parse all present fields into a Radiotap
struct:
let capture = ;
let radiotap = from_bytes.unwrap;
println!;
If you just want to parse a few specific fields from the Radiotap capture you can create an
iterator using RadiotapIterator::from_bytes(&capture)
:
let capture = ;
for element in from_bytes.unwrap
License
This project is dual licensed under the Apache 2.0 License and the MIT License. See the LICENSE-APACHE and LICENSE-MIT files.