(data: *const u8, i: usize)
| 49 | /// responsible to guarantee that `i` is within bounds. |
| 50 | #[inline] |
| 51 | pub unsafe fn get_bit_raw(data: *const u8, i: usize) -> bool { |
| 52 | unsafe { (*data.add(i / 8) & (1 << (i % 8))) != 0 } |
| 53 | } |
| 54 | |
| 55 | /// Sets bit at position `i` for `data` to 1 |
| 56 | #[inline] |
no test coverage detected