1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
function test2() local i = Input.new "tests/test1.lua" i:open() i:close() i:destroy() i = Input.new "tests/test1.lua" i:open() i = nil collectgarbage() i = Input.new "tests/test1.lua" i:open() print(i:readU8()) i:destroy() end