Tested each sample.

This commit is contained in:
Diego Nehab 2007-10-11 21:16:28 +00:00
parent e394956cde
commit 52ac60af81
27 changed files with 789 additions and 163 deletions

7
gem/ex11.lua Normal file
View file

@ -0,0 +1,7 @@
local input = source.chain(
source.file(io.open("input.bin", "rb")),
encode("base64"))
local output = sink.chain(
wrap(76),
sink.file(io.open("output.b64", "w")))
pump.all(input, output)