(byte[] data, int offset, int length)
| 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; |