Skip to content

Commit e12fffe

Browse files
authored
Making several RecordBuffer methods public (#419)
1 parent 01c8849 commit e12fffe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bam/buffer.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,16 @@ impl RecordBuffer {
5757
}
5858

5959
/// Return start position of buffer
60-
fn start(&self) -> Option<u64> {
60+
pub fn start(&self) -> Option<u64> {
6161
self.inner.front().map(|rec| rec.pos() as u64)
6262
}
6363

6464
/// Return end position of buffer.
65-
fn end(&self) -> Option<u64> {
65+
pub fn end(&self) -> Option<u64> {
6666
self.inner.back().map(|rec| rec.pos() as u64)
6767
}
6868

69-
fn tid(&self) -> Option<i32> {
69+
pub fn tid(&self) -> Option<i32> {
7070
self.inner.back().map(|rec| rec.tid())
7171
}
7272

0 commit comments

Comments
 (0)