Files
rojo/plugin/rbx_dom_lua/base64.lua
2025-11-27 12:10:57 -08:00

11 lines
313 B
Lua

local EncodingService = game:GetService("EncodingService")
return {
decode = function(input: string)
return buffer.tostring(EncodingService:Base64Decode(buffer.fromstring(input)))
end,
encode = function(input: string)
return buffer.tostring(EncodingService:Base64Encode(buffer.fromstring(input)))
end,
}