Module rust_htslib::bam::buffer
source · Structs
A buffer for BAM records. This allows access regions in a sorted BAM file while iterating
over it in a single pass.
The buffer is implemented as a ringbuffer, such that extension or movement to the right has
linear complexity. The buffer makes use of indexed random access. Hence, when fetching a
region at the very end of the BAM, everything before is omitted without cost.