(FEntry fileEntry,String outputPath)
| 380 | |
| 381 | |
| 382 | public byte[] decryptAsByte(FEntry fileEntry,String outputPath) throws IOException { |
| 383 | InputStream input = new FileInputStream(fileEntry.getContentPath()); |
| 384 | ByteArrayOutputStream bos = new ByteArrayOutputStream(); |
| 385 | |
| 386 | decryptStream(input,bos,fileEntry); |
| 387 | |
| 388 | byte[] result = bos.toByteArray(); |
| 389 | bos.close(); |
| 390 | return result; |
| 391 | } |
| 392 | |
| 393 | public byte[] decryptContent(FEntry fileEntry,String outputPath) throws IOException { |
| 394 | InputStream input = new FileInputStream(fileEntry.getContentPath()); |
no test coverage detected