diff options
Diffstat (limited to 'tests/projects/other/bin2obj/transform.lua')
| -rw-r--r-- | tests/projects/other/bin2obj/transform.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/projects/other/bin2obj/transform.lua b/tests/projects/other/bin2obj/transform.lua new file mode 100644 index 000000000..54cf1f394 --- /dev/null +++ b/tests/projects/other/bin2obj/transform.lua @@ -0,0 +1,5 @@ +function main(inputfile, outputfile) + import("core.base.bytes") + local data = io.readfile(inputfile, {encoding = "binary"}) + io.writefile(outputfile, data:reverse(), {encoding = "binary"}) +end |
