from_file

Function from_file 

Source
pub fn from_file<E: Endianness, W: Word>(
    file: File,
) -> BufBitWriter<E, WordAdapter<W, BufWriter<File>>, DefaultWriteParams> 
Expand description

Creates a new BufBitWriter 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.