[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: CRC in lua
- From: "Khalid Manjoo" <kmanjoo@...>
- Date: Thu, 15 Jun 2006 15:50:11 +0200
Thanks, but I think this code is for unix, no ja ? I tried running it in lua
and received the error msg "attempt to call field 'calc' a nil value. Any
"If you look at what you have in life, you'll always have more. If you look
at what you don't have in life, you'll never have enough."
Sun Space & Information Systems (Pty) Ltd.
Stellenbosch, South Africa
+27 21 880 8114 (tel)
+27 21 880 1703 (fax)
"There are no limitations to the mind except those that we acknowledge.
Whatever the mind can conceive and believe it can achieve. "
[mailto:firstname.lastname@example.org] On Behalf Of PA
Sent: 14 June 2006 05:06 PM
To: Lua list
Subject: Re: CRC in lua
On Jun 14, 2006, at 16:25, Imrahil wrote:
> hi everybuddy. does anyone know how to do a calculate a CRC fo a block
> binary data using lua ??
Milano Carvalho posted an handy CRC32 module a while back:
local crc = require( "crc" )
print( crc.calc( "abc" ) )
PA, Onnay Equitursay