Skip to content

juancarlospaco/nim-datauri

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nim-datauri

Install

nimble install https://github.com/juancarlospaco/nim-datauri

Requisites

Documentation

file2datauri()

Description: Convert a file path string to a Data URI Base64 string.

Arguments:

  • filename A file path string, string type, required.

Returns: Data URI Base64 string type.

datauri2file()

Description: Convert a Data URI Base64 string to a file.

Arguments:

  • datauri A Data URI Base64 , string type, required.
  • filename A file path string, string type, required.

Returns: Return value of writeFile(), cint type.

About

Data URI Base64 UTF-8 Nim module.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages