Skip to main content

read

Function read 

Source
pub fn read(data: &[u8], magic: [u8; 4]) -> Result<Vec<Block>>
Expand description

Read a bitstream whose 32-bit magic has been checked: the top-level blocks (abbreviation width 2).