LibBase64-1.0

LibJSON-1.0 is a library to encode and decode Base64 strings.

This is mostly useful if you are exporting lua data to external applications.

local LibBase64 = LibStub("LibBase64-1.0")

assert(LibBase64.Encode("Hello, how are you doing today?") == "SGVsbG8sIGhvdyBhcmUgeW91IGRvaW5nIHRvZGF5Pw==")

assert(LibBase64.Decode("SGVsbG8sIGhvdyBhcmUgeW91IGRvaW5nIHRvZGF5Pw==") == "Hello, how are you doing today?")

You must login to post a comment. Don't have an account? Register to get one!

Facts

Date created
29 Nov 2008
Categories
Last update
18 Dec 2008
Development stage
Release
Language
  • enUS
License
MIT License
Curse link
LibBase64-1.0
Recent files

Authors

© 2008-2009 Curse Inc.