LibBase64-1.0

API

  • 1 page found
NameAuthorLast updated byUpdated on
NameAuthorLast updated byUpdated on
LibBase64-1.0.lua ckknight ckknight 18 Dec 2008
LibBase64.Decode(text) Decode a Base64-encoded string into a bytestring this will raise an error if the data passed in is not a Base64-encoded string this will ignore whitespace, but not invalid characters Parameters text a Base64-encoded string Usage LibBase64.Encode("SGVsbG8sIGhvdyBhcmUgeW91IGRvaW5nIHRvZGF5Pw==") == "Hello, how are you doing today?" Return value a bytestring LibBase64.Encode(text, maxLineLength, lineEnding) Encode a normal bytestring into a Base64-encoded string Parameters...
  • 1 page found