Skip to content

Commit

Permalink
read_array now returns size as third argument
Browse files Browse the repository at this point in the history
  • Loading branch information
Srlion committed Dec 15, 2024
1 parent 9a10ad3 commit 018e666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sfs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ do
arr[size] = val
end
ctx[1] = ctx[1] + 1 -- skip the ending type
return arr
return arr, nil, size
end
Decoder.read_array = read_array

Expand Down

0 comments on commit 018e666

Please sign in to comment.