Skip to main content

Module bundle

Module bundle 

Source
Expand description

Stripped-bytecode bundle format (.hb).

magic "HTLB\x01"
u32 len, entry module name
u32 count
count x ( u32 len, module name, u32 len, bytecode )

All integers little-endian. Bytecode is Lua 5.4 as produced by this build’s mlua; bundles are only portable between htl binaries of the same Lua generation.

Structs§

Bundle

Constants§

MAGIC