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

Method write

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

Source from the content-addressed store, hash-verified

429 }
430
431 @Override
432 public void write(OutputStream out, BHeader header, LFunction object) throws IOException {
433 header.string.write(out, header, object.name);
434 header.integer.write(out, header, new BInteger(object.linedefined));
435 header.integer.write(out, header, new BInteger(object.lastlinedefined));
436 out.write(object.numParams);
437 out.write(object.vararg);
438 out.write(object.maximumStackSize);
439 write_code(out, header, object);
440 header.constant.writeList(out, header, object.constants);
441 write_upvalues(out, header, object);
442 header.function.writeList(out, header, object.functions);
443 write_debug(out, header, object);
444 }
445
446}

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected