lua-users home
lua-l archive

Re: cdata conversion failure with ffi.string()

[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(">引用] Moreover, you can decrypt the message by base64 in lua-I。

Thanks a lot. That's working now!

br,
Markus

AltStyle によって変換されたページ (->オリジナル) /