Byte-compiled chunk safe in C string?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Byte-compiled chunk safe in C string?
- From: phil@...
- Date: 2003年2月18日 10:31:49 -0700
I'm designing a binary file format, and I'd like to be able to embed byte-compiled
Lua chunks in it. I looked in the refman, but I wasn't able to find anything on it.
So, can I store byte-compiled chunks in null-terminated C strings? Specifically,
will there be any stray nulls in a byte-compiled chunk?
Thanks, Philip Bock