from_file

Function from_file 

Source
pub fn from_file<E: Endianness, W: Word + DoubleType>(
    file: File,
) -> 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.

See also from_path for a version that takes a path.