We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be4303e commit c0ce45cCopy full SHA for c0ce45c
1 file changed
src/tilemaps/parsers/tiled/Base64Decode.js
@@ -18,7 +18,7 @@ var Base64Decode = function (data)
18
{
19
var binaryString = window.atob(data);
20
var len = binaryString.length;
21
- var bytes = new Array(len);
+ var bytes = new Array(len / 4);
22
23
// Interpret binaryString as an array of bytes representing little-endian encoded uint32 values.
24
for (var i = 0; i < len; i += 4)
0 commit comments