| 253 | |
| 254 | template <typename DType> |
| 255 | DType load(const uint8_t* bitmap) { |
| 256 | assert(bitmap + sizeof(DType) <= bitmap_end_); |
| 257 | return bit_util::ToLittleEndian(util::SafeLoadAs<DType>(bitmap)); |
| 258 | } |
| 259 | }; |
| 260 | |
| 261 | /// \brief Index into a possibly nonexistent bitmap |