This is a port from LuaDec 5.0 (http://luadec.luaforge.net/) created by  Hisham Muhammad (http://www.inf.puc-rio.br/~hisham)