Skip to content

salmmanfred/openfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a cargo for easy opening of files.

To get the file into a string: read_file(&str) Returns string

To get files line by line read_file_lines(&str) Retruns vector string

To write to a file do : write_file(&str,&str) (file name, file content)

To delete file remove_file(&str) to remove the file using the name of the file

To save byte arrays do: write_file_bytes(&str,Vec u8)

read_file_bytes (&str: filename)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages