encode_file

Function encode_file 

Source
pub fn encode_file(
    path: impl Into<PathBuf>,
    line_by_line: bool,
) -> Result<String>
Expand description

Reverses the contents of a file

ยงErrors

  • The file cannot be read
  • The file content is not valid UTF-8