Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
ba39d096
Commit
ba39d096
authored
Jun 24, 2015
by
Luna
Browse files
tottaly found a bug
parent
6f7542c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
lua_modules/base64/base64_v2.lua
View file @
ba39d096
...
...
@@ -9,7 +9,7 @@ base64 = {
l
=
bit
.
lshift
(
l
,
8
)
l
=
l
+
d
:
byte
(
i
,
i
)
if
i
%
3
==
0
then
while
l
>
0
do
for
j
=
1
,
4
do
local
a
=
bit
.
rshift
(
l
,
18
)
+
1
out
=
out
..
tab
:
sub
(
a
,
a
)
l
=
bit
.
band
(
bit
.
lshift
(
l
,
6
),
0xFFFFFF
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment