int function ( InputStream arg0 , OutputStream arg1 ) { byte [ ] loc0 = new byte [ DEFAULT_BUFFER_SIZE ] ; int loc1 = 0 ; int loc2 = 0 ; while ( - 1 != ( loc2 = arg0 . read ( loc0 ) ) ) { arg1 . write ( loc0 , 0 , loc2 ) ; loc1 += loc2 ; } return loc1 ; }
copy bytes from an inputstream to an outputstream . this method buffers the input internally , so there is no need to use a bufferedinputstream . concode_field_sep int DEFAULT_BUFFER_SIZE concode_field_sep byte[] toByteArray