I am not sure if I am too dumb, but I couldn't figure out how to actually read a file using the generated code an example would be really helpful.
Using prost, I've generated the rust bindings for the OpenStreetMap .pbf files: https://crates.io/crates/osm-proto-rs
And here is a small PBF file, for testing: https://github.com/sharazam/small-test-pbf-file
How do I read the file, for example the header block? Do I use bytes or just File::open or is there a hidden "Reader" somewhere? Thanks in advance.