Home

Awesome

nim-datauri

Install

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

Requisites

Documentation

<details> <summary><b>file2datauri()</b></summary>

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

Arguments:

Returns: Data URI Base64 string type.

</details> <details> <summary><b>datauri2file()</b></summary>

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

Arguments:

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

</details>