invoked to pass stream data . the data passed should not include the 3 byte start code . concode_field_sep int nalLength concode_elem_sep byte[] nalData concode_elem_sep int targetType concode_elem_sep boolean isFilling concode_elem_sep boolean isCompleted concode_field_sep void startNalUnit concode_elem_sep void reset concode_elem_sep boolean isCompleted concode_elem_sep boolean endNalUnit
void function ( byte [ ] arg0 , int arg1 , int arg2 ) { if ( ! isFilling ) { return ; } int loc0 = arg2 - arg1 ; if ( nalData . length < nalLength + loc0 ) { nalData = Arrays . copyOf ( nalData , ( nalLength + loc0 ) * 2 ) ; } System . arraycopy ( arg0 , arg1 , nalData , nalLength , loc0 ) ; nalLength += loc0 ; }