Base64 encoding and decoding
Portions sourced from (https://gist.github.com/shpakovski/1902994).
Signature | hs.base64.decode(str) -> val |
---|---|
Type | Function |
Description |
Decodes a given base64 string |
Parameters |
|
Returns |
|
Source | extensions/base64/base64.lua line 40 |
Signature | hs.base64.encode(val[,width]) -> str |
---|---|
Type | Function |
Description |
Encodes a given string to base64 |
Parameters |
|
Returns |
|
Source | extensions/base64/base64.lua line 14 |
© 2014–2017 Hammerspoon contributors
Licensed under the MIT License.
https://www.hammerspoon.org/docs/hs.base64.html