neovim/runtime/lua/vim/_meta/base64.lua
Gregory Anders 224f303ee5
feat(stdlib): add vim.base64 module (#25843)
Add base64 encode() and decode() functions to a vim.base64 module.
2023-10-31 09:15:32 -05:00

14 lines
310 B
Lua

--- @meta
--- Encode {str} using Base64.
---
--- @param str string String to encode
--- @return string Encoded string
function vim.base64.encode(str) end
--- Decode a Base64 encoded string.
---
--- @param str string Base64 encoded string
--- @return string Decoded string
function vim.base64.decode(str) end