Struct barc::BarcReader [−][src]
pub struct BarcReader { /* fields omitted */ }
Expand description
BARC file handle for read access. Each reader has its own file handle and position.
Implementations
Read and return the next Record or None if EOF. The provided Tunables
max_body_ram
controls, depending on record sizes and compression,
whether the request and response bodies are read directly into RAM,
buffered in a file, or deferred via a ReadSlice
.
Returns the current offset in bytes of this reader, which starts as 0
and is advanced by each succesful return from read
or updated via
seek
.