lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 08.03.19 00:59, qtiuto wrote:
According to current luaffi implementation, you have to  cast it to void* or char* with length specified if the data doesnot end with '\0' . Use ffi.string(ffi.cast("void*",ms),ffi.sizeof(ms)) to do.
Moreover, you can decrypt the message by base64 in lua-I。

Thanks a lot. That's working now!

br,
Markus