update LibBase64-1.0 (Export/Import now fully working)

Please test test test!
This commit is contained in:
Crum
2018-06-22 21:25:15 -05:00
parent eb4ad4697c
commit 5468d8c227
2 changed files with 4 additions and 2 deletions
@@ -75,7 +75,9 @@ function LibBase64:Encode(text, maxLineLength, lineEnding)
local currentLength = 0
for i = 1, len(text), 3 do
local a, b, c = byte(text, i, i+2)
local a = byte(text, i)
local b = byte(text, i + 1)
local c = byte(text, i + 2)
local nilNum = 0
if not b then
nilNum = 2