//! [`ResolvedDataBlock`].
#[allow(unused_imports)]usesuper::*;/// A data block that may contain borrowed or owned data.
////// This allows handling both regular DT/DV blocks (zero-copy) and
/// decompressed DZ blocks (owned data) with a unified interface.
#[derive(Debug)]pubstructResolvedDataBlock<'a>{/// Original block type ID (e.g., "##DT", "##DV").
pubblock_id:&'staticstr,
/// The data contents (may be borrowed or owned).
pubdata:DataBlockData<'a>,
}impl<'a>ResolvedDataBlock<'a>{/// Iterate over raw records of fixed size.
////// # Arguments
/// * `record_size` - Size in bytes of one record (including record ID)
////// # Returns
/// An iterator yielding each raw record slice.
pubfnrecords(&self, record_size:usize)-> impl Iterator<Item = &[u8]>{self.data.as_slice().chunks_exact(record_size)}}