(&self, index: usize)
| 157 | /// Gets a bit in the buffer at `index` |
| 158 | #[inline] |
| 159 | pub fn is_valid(&self, index: usize) -> bool { |
| 160 | if let Some(ref buf) = self.bitmap_builder { |
| 161 | buf.get_bit(index) |
| 162 | } else { |
| 163 | true |
| 164 | } |
| 165 | } |
| 166 | |
| 167 | /// Truncates the builder to the given length |
| 168 | /// |