Skip to content
Closed
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions rust/arrow/src/bitmap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ impl Bitmap {
assert!(i < (self.bits.len() << 3));
unsafe { bit_util::get_bit_raw(self.bits.raw_data(), i) }
}

pub fn to_buffer(self) -> Buffer {
self.bits
}
}

impl<'a, 'b> BitAnd<&'b Bitmap> for &'a Bitmap {
Expand Down
Loading