MCPcopy Create free account
hub / github.com/L-JINBIN/ApkDataMultiplexing / getAlignedPadding

Method getAlignedPadding

src/bin/zip/ZipMaker.java:397–399  ·  view source on GitHub ↗
(long pos, int alignTo)

Source from the content-addressed store, hash-verified

395 }
396
397 private static int getAlignedPadding(long pos, int alignTo) {
398 return (int) (alignTo - (pos % alignTo)) % alignTo;
399 }
400
401 private void writeCentralFileHeader(CenterFileHeader header) throws IOException {
402 boolean needZip64 = header.needZip64();

Callers 1

alignMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected