MCPcopy Index your code
hub / github.com/Hiro420/NikkeTools / write

Method write

UnLuac/src/unluac/parse/LFunctionType.java:346–364  ·  view source on GitHub ↗
(OutputStream out, BHeader header, LFunction object)

Source from the content-addressed store, hash-verified

344 }
345
346 @Override
347 public void write(OutputStream out, BHeader header, LFunction object) throws IOException {
348 header.string.write(out, header, object.name);
349 header.integer.write(out, header, new BInteger(object.linedefined));
350 header.integer.write(out, header, new BInteger(object.lastlinedefined));
351 out.write(object.numParams);
352 out.write(object.vararg);
353 out.write(object.maximumStackSize);
354 if (header.version.isMua()) {
355 header.constant.writeList(out, header, object.constants);
356 write_code(out, header, object);
357 } else {
358 write_code(out, header, object);
359 header.constant.writeList(out, header, object.constants);
360 }
361 write_upvalues(out, header, object);
362 header.function.writeList(out, header, object.functions);
363 write_debug(out, header, object);
364 }
365
366}
367

Callers

nothing calls this directly

Calls 6

isMuaMethod · 0.80
writeListMethod · 0.80
write_codeMethod · 0.80
write_upvaluesMethod · 0.80
writeMethod · 0.45
write_debugMethod · 0.45

Tested by

no test coverage detected