diff options
Diffstat (limited to 'gem/ex11.lua')
-rw-r--r-- | gem/ex11.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gem/ex11.lua b/gem/ex11.lua index 1cbf01f..79c99af 100644 --- a/gem/ex11.lua +++ b/gem/ex11.lua | |||
@@ -1,7 +1,7 @@ | |||
1 | local input = source.chain( | 1 | local input = source.chain( |
2 | source.file(io.open("input.bin", "rb")), | 2 | source.file(io.open("input.bin", "rb")), |
3 | encode("base64")) | 3 | encode("base64")) |
4 | local output = sink.chain( | 4 | local output = sink.chain( |
5 | wrap(76), | 5 | wrap(76), |
6 | sink.file(io.open("output.b64", "w"))) | 6 | sink.file(io.open("output.b64", "w"))) |
7 | pump.all(input, output) | 7 | pump.all(input, output) |