MCPcopy Create free account
hub / github.com/Youlor/unpacker / readFrom

Method readFrom

dexfixer/src/com/android/dex/TableOfContents.java:71–75  ·  view source on GitHub ↗
(Dex dex)

Source from the content-addressed store, hash-verified

69 }
70
71 public void readFrom(Dex dex) throws IOException {
72 readHeader(dex.open(0));
73 readMap(dex.open(mapList.off));
74 computeSizesFromOffsets();
75 }
76
77 private void readHeader(Dex.Section headerIn) throws UnsupportedEncodingException {
78 byte[] magic = headerIn.readByteArray(8);

Callers 2

DexMethod · 0.80
loadFromMethod · 0.80

Calls 4

readHeaderMethod · 0.95
readMapMethod · 0.95
openMethod · 0.65

Tested by

no test coverage detected