Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/lzio.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const luaZ_fill = function(z) {
let buff = z.reader(z.L, z.data);
if (buff === null)
return EOZ;
lua_assert(buff instanceof Uint8Array, "Should only load binary of array of bytes");
buff = from_userstring(buff);
let size = buff.length;
if (size === 0)
return EOZ;
Expand Down
Loading