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

Method Dex

dexfixer/src/com/android/dex/Dex.java:74–76  ·  view source on GitHub ↗

Creates a new dex that reads from data. It is an error to modify data after using it to create a dex buffer.

(byte[] data)

Source from the content-addressed store, hash-verified

72 * {@code data} after using it to create a dex buffer.
73 */
74 public Dex(byte[] data) throws IOException {
75 this(ByteBuffer.wrap(data));
76 }
77
78 private Dex(ByteBuffer data) throws IOException {
79 this.data = data;

Callers

nothing calls this directly

Calls 5

loadFromMethod · 0.95
hasArchiveSuffixMethod · 0.95
readFromMethod · 0.80
closeMethod · 0.65
getNameMethod · 0.65

Tested by

no test coverage detected