Function try_read_to_str

Source
pub fn try_read_to_str(file: &Path) -> Result<String>
Expand description

try read all bytes to string
if file is so big, call this method is not good idea