pub fn binary_search( records: &[IndexRecord], entry_key: &[u8; 32], ) -> Option<usize>
Search for a record with the given key and discriminator 0 (default).