MCPcopy Index your code
hub / github.com/Shopify/go-lua / readCode

Method readCode

undump.go:87–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85}
86
87func (state *loadState) readCode() (code []instruction, err error) {
88 n, err := state.readInt()
89 if err != nil || n == 0 {
90 return
91 }
92 code = make([]instruction, n)
93 err = state.read(code)
94 return
95}
96
97func (state *loadState) readUpValues() (u []upValueDesc, err error) {
98 n, err := state.readInt()

Callers 1

readFunctionMethod · 0.95

Calls 2

readIntMethod · 0.95
readMethod · 0.95

Tested by

no test coverage detected