populates the given buffer with data read from the input stream . if the data does n't fit the buffer , only the data that fits in the buffer is read . if the data is less than fits in the buffer , the buffer is not completely filled . concode_field_sep PlaceHolder placeHolder concode_field_sep byte[] toByteArray concode_elem_sep long copy concode_elem_sep void closeQuietly
long function ( InputStream arg0 , byte [ ] arg1 ) { int loc0 = arg1 . length ; while ( loc0 > 0 ) { int loc1 = arg1 . length - loc0 ; int loc2 = arg0 . read ( arg1 , loc1 , loc0 ) ; if ( loc2 < 0 ) { break ; } loc0 -= loc2 ; } return arg1 . length - loc0 ; }