Skip to main content

bitmap_find_set_bit_be

Function bitmap_find_set_bit_be 

Source
pub fn bitmap_find_set_bit_be(data: &[u8], max_bits: u32) -> Option<u32>
Expand description

Find the first set (1) bit in a big-endian bitmap within max_bits. ProDOS uses bit=1 for FREE blocks, so this finds the first free block.