(String filename, byte[] data)
| 229 | } |
| 230 | |
| 231 | public static void writefile(String filename, byte[] data) throws Exception { |
| 232 | FileOutputStream fos = new FileOutputStream(filename); |
| 233 | BufferedOutputStream bos = new BufferedOutputStream(fos); |
| 234 | bos.write(data); |
| 235 | bos.flush(); |
| 236 | bos.close(); |
| 237 | } |
| 238 | |
| 239 | public static byte[] gzip(byte[] src) throws Exception { |
| 240 | ByteArrayOutputStream out = new ByteArrayOutputStream(); |
no test coverage detected