| 42 | } |
| 43 | |
| 44 | const uint8_t* extract_ptr( |
| 45 | const ::matlab::data::TypedArray<bool>& unpacked_validity_bitmap) { |
| 46 | if (unpacked_validity_bitmap.getNumberOfElements() > 0) { |
| 47 | const auto unpacked_validity_bitmap_iterator(unpacked_validity_bitmap.cbegin()); |
| 48 | return reinterpret_cast<const uint8_t*>( |
| 49 | unpacked_validity_bitmap_iterator.operator->()); |
| 50 | } else { |
| 51 | return nullptr; |
| 52 | } |
| 53 | } |
| 54 | } // namespace arrow::matlab::bit |
no test coverage detected