I hope that this fits with the design of the library.
Accessing the global header while processing a stream is required to know whether the captures use microsecond or nanosecond precision. I can also imagine that other use cases might require access to other fields such as the data link type.
I hope that this fits with the design of the library.
Accessing the global header while processing a stream is required to know whether the captures use microsecond or nanosecond precision. I can also imagine that other use cases might require access to other fields such as the data link type.