pub fn read_dictionary_header( data: &[u8], offset: usize, ) -> Result<DictionaryHeader, String>
Parse a dictionary header from a byte slice at the given offset.