Dekkonot / bitbuffer

A binary stream module for packing binary data in pure Lua
https://dekkonot.github.io/bitbuffer/
MIT License
44 stars 11 forks source link

dumpBase64 using incorrect table.create amount #31

Closed EpixScripts closed 3 years ago

EpixScripts commented 3 years ago

In dumpBase64 for the roblox version, to create the table of output bytes the script will do table.create(math.ceil(byteCount * 0.333)). This is incorrect, as Base64 does not make the file size 1/3. it should be * 1.333.

Dekkonot commented 3 years ago

Should be fixed in commit 4558498