MCPcopy Create free account
hub / github.com/Hiro420/NikkeTools / parse_upvalues

Method parse_upvalues

UnLuac/src/unluac/parse/LFunctionType.java:132–136  ·  view source on GitHub ↗
(ByteBuffer buffer, BHeader header, LFunctionParseState s)

Source from the content-addressed store, hash-verified

130 }
131
132 protected void parse_upvalues(ByteBuffer buffer, BHeader header, LFunctionParseState s) {
133 BList<LUpvalue> upvalues = header.upvalue.parseList(buffer, header);
134 s.lenUpvalues = upvalues.length.asInt();
135 s.upvalues = upvalues.asArray(new LUpvalue[s.lenUpvalues]);
136 }
137
138 protected void write_upvalues(OutputStream out, BHeader header, LFunction object) throws IOException {
139 header.upvalue.writeList(out, header, object.upvalues);

Callers 3

parse_mainMethod · 0.80
parse_mainMethod · 0.80
parse_mainMethod · 0.80

Calls 3

parseListMethod · 0.80
asIntMethod · 0.80
asArrayMethod · 0.80

Tested by

no test coverage detected