Skip to main content

detect

Function detect 

Source
pub fn detect<R>(
    reader: &mut R,
    logical_block_size: u32,
) -> Result<Option<BlockFormat>>
where R: Read + Seek<Error = <R as Read>::Error>,
Expand description

Detect a layout and restore the reader’s original position.