pub fn from_path<E: Endianness, W: Word + DoubleType>(
path: impl AsRef<Path>,
) -> Result<BufBitReader<E, WordAdapter<W, BufReader<File>>, DefaultReadParams>>Expand description
Creates a new BufBitReader with default read
parameters from a file path using the provided
endianness and read word.
ยงExamples
use dsi_bitstream::prelude::*;
let mut reader = buf_bit_reader::from_path::<LE, u32>("data.bin")?;