Versions in this module Expand all Collapse all v0 v0.1.1 Dec 10, 2019 v0.1.0 Dec 10, 2019 Changes in this version + const CINT_SIZE + const CSIZET_SIZE + const INSTRUCTION_SIZE + const LUAC_DATA + const LUAC_FORMAT + const LUAC_INT + const LUAC_NUM + const LUAC_VERSION + const LUA_CLOSURE + const LUA_GO_CLOSURE + const LUA_GO_FUNC + const LUA_INTEGER_SIZE + const LUA_NUMBER_SIZE + const LUA_NUM_FLOAT + const LUA_NUM_INT + const LUA_SIGNATURE + const LUA_STR_LONG + const LUA_STR_SHORT + const LUA_TYPE_BOOL + const LUA_TYPE_FUNC + const LUA_TYPE_LUDATA + const LUA_TYPE_NIL + const LUA_TYPE_NONE + const LUA_TYPE_NUMBER + const LUA_TYPE_STRING + const LUA_TYPE_TABLE + const LUA_TYPE_THREAD + const LUA_TYPE_UDATA + func Dump(proto *Prototype, strip bool) []byte + func IsChunk(data []byte) bool + type Chunk struct + Entry Prototype + Header Header + func Load(data []byte) (chunk Chunk, err error) + type Header struct + Format byte + GoIntSize byte + InstrSize byte + LuaIntSize byte + LuaNumSize byte + LuacData [6]byte + LuacIntEnc int64 + LuacNumEnc float64 + Signature [4]byte + SizetSize byte + Version byte + type LocalVar struct + Dead uint32 + Live uint32 + Name string + type Prototype struct + Code []uint32 + Consts []interface{} + EndPos uint32 + Locals []LocalVar + Params byte + PcLnTab []uint32 + Protos []Prototype + Source string + SrcPos uint32 + Stack byte + UpNames []string + UpValues []UpValue + Vararg byte + func (proto *Prototype) Const(index int) interface{} + func (proto *Prototype) IsVararg() bool + func (proto *Prototype) NumParams() int + func (proto *Prototype) Proto(index int) *Prototype + func (proto *Prototype) StackSize() int + type UpValue struct + InStack byte + Index byte + func (upval *UpValue) AtIndex() int + func (upval *UpValue) IsLocal() bool