MCPcopy Create free account
hub / github.com/ReadyTalk/avian / get4

Method get4

classpath/java/util/zip/ZipFile.java:151–158  ·  view source on GitHub ↗
(Window w, int p)

Source from the content-addressed store, hash-verified

149 }
150
151 private static int get4(Window w, int p) throws IOException {
152 int offset = w.seek(p, 4);
153 return
154 ((w.data[offset + 3] & 0xFF) << 24) |
155 ((w.data[offset + 2] & 0xFF) << 16) |
156 ((w.data[offset + 1] & 0xFF) << 8) |
157 ((w.data[offset ] & 0xFF) );
158 }
159
160 private static int directoryOffset(Window w, int p) throws IOException {
161 return get4(w, p + 16);

Callers 4

directoryOffsetMethod · 0.95
compressedSizeMethod · 0.95
uncompressedSizeMethod · 0.95
localHeaderMethod · 0.95

Calls 1

seekMethod · 0.45

Tested by

no test coverage detected