diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-06-16 04:28:21 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-06-16 04:28:21 +0000 |
commit | 0a4c1534f39511894728da193ab8225ad6022de9 (patch) | |
tree | 683b711accf64eca486b138cbc034c609f93a53a /etc/b64.lua | |
parent | 8e80e38f2c3121242b3b2f7a45a960c9af4d1a68 (diff) | |
download | luasocket-0a4c1534f39511894728da193ab8225ad6022de9.tar.gz luasocket-0a4c1534f39511894728da193ab8225ad6022de9.tar.bz2 luasocket-0a4c1534f39511894728da193ab8225ad6022de9.zip |
Still work to do in the manual...
Diffstat (limited to 'etc/b64.lua')
-rw-r--r-- | etc/b64.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/b64.lua b/etc/b64.lua index 4d5f83e..d74c949 100644 --- a/etc/b64.lua +++ b/etc/b64.lua | |||
@@ -1,3 +1,9 @@ | |||
1 | ----------------------------------------------------------------------------- | ||
2 | -- Little program to convert to and from Base64 | ||
3 | -- LuaSocket sample files | ||
4 | -- Author: Diego Nehab | ||
5 | -- RCS ID: $Id$ | ||
6 | ----------------------------------------------------------------------------- | ||
1 | local ltn12 = require("ltn12") | 7 | local ltn12 = require("ltn12") |
2 | local mime = require("mime") | 8 | local mime = require("mime") |
3 | local source = ltn12.source.file(io.stdin) | 9 | local source = ltn12.source.file(io.stdin) |