int function ( byte [ ] arg0 , int arg1 ) { if ( arg0 != null && arg1 >= 0 ) { for ( int loc0 = Math . min ( arg1 , arg0 . arg1 ) - 1 ; loc0 > 0 ; -- loc0 ) { if ( arg0 [ loc0 ] == END_OF_DATA ) { if ( loc0 > 0 && arg0 [ loc0 - 1 ] == END_OF_BLOCK ) { return loc0 - 1 ; } } } } return - 1 ; }
find the end of the hl7 payload searches the payload from the end , looking for the end_of_block , end_of_data characters . concode_field_sep Logger LOG concode_field_sep void reset concode_elem_sep void setSoTimeout concode_elem_sep int findStartOfBlock concode_elem_sep int findStartOfBlock concode_elem_sep void close concode_elem_sep String getAddressString