|
|
||
|
Hi,
I just noticed there aren't any functions for reading/writting binary files in the lua standard library, I would like to suggest the addition of them. Something like:
fh:readb( "pattern", [num] ) fh:writeb( "pattern", ... )
where pattern would be something like: "ub", "sd", "df" for unsigned byte, signed dword and double float.
I've had the experience of roughly implementing something like this for Lua.
-John
-- http:// i . /