MCPcopy Create free account
hub / github.com/facebook/SoLoader / parseLibCount

Method parseLibCount

java/com/facebook/soloader/NativeDeps.java:325–332  ·  view source on GitHub ↗
(byte[] data, int offset, int length)

Source from the content-addressed store, hash-verified

323 }
324
325 private static int parseLibCount(byte[] data, int offset, int length) {
326 try {
327 return Integer.parseInt(new String(data, offset, length));
328 } catch (NumberFormatException e) {
329 // Invalid data
330 return -1;
331 }
332 }
333
334 static boolean processDepsBytes(byte[] apkId, byte[] deps) throws IOException {
335 int offset = 0;

Callers 1

processDepsBytesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected