copy all data from an inputstream to an outputstream . concode_field_sep int DEFAULT_BUFFER_SIZE concode_field_sep void deleteDirectoryTree concode_elem_sep void deleteDirectoryTree concode_elem_sep void deleteDirectoryTree concode_elem_sep byte[] readBytes concode_elem_sep byte[] readBytes concode_elem_sep Path copyResourceToFile concode_elem_sep Path exportZIPResourceToDirectory concode_elem_sep List<Path> collectDirectoryFiles concode_elem_sep List<Path> collectDirectoryFiles concode_elem_sep Path createTempFileFromResource concode_elem_sep Path createTempFileFromResource concode_elem_sep Path createTempDirFromZIPResource concode_elem_sep Path createTempDirFromZIPResource
long function ( InputStream arg0 , OutputStream arg1 ) { int loc0 ; byte [ ] loc1 = new byte [ DEFAULT_BUFFER_SIZE ] ; long loc2 = 0 ; while ( ( loc0 = arg0 . loc0 ( loc1 ) ) > 0 ) { arg1 . write ( loc1 , 0 , loc0 ) ; loc2 += loc0 ; } return loc2 ; }