Skip to main content

Module undump

Module undump 

Source
Expand description

Load precompiled Lua chunks.

The binary chunk format matches the reference C implementation (lundump.c/lundump.h) byte-for-byte, so string.dump output and precompiled chunks stay interchangeable with stock Lua.

The public entry point is [undump], which reads a binary Lua chunk from a ZIO stream and returns a Lua closure ready to call.