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

Method get2

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

Source from the content-addressed store, hash-verified

142 }
143
144 private static int get2(Window w, int p) throws IOException {
145 int offset = w.seek(p, 2);
146 return
147 ((w.data[offset + 1] & 0xFF) << 8) |
148 ((w.data[offset ] & 0xFF) );
149 }
150
151 private static int get4(Window w, int p) throws IOException {
152 int offset = w.seek(p, 4);

Callers 7

entryNameLengthMethod · 0.95
compressionMethodMethod · 0.95
fileNameLengthMethod · 0.95
extraFieldLengthMethod · 0.95
commentFieldLengthMethod · 0.95
localFileNameLengthMethod · 0.95
localExtraFieldLengthMethod · 0.95

Calls 1

seekMethod · 0.45

Tested by

no test coverage detected