question: returns the index within this buffer of the first occurrence of the specified byte , starting the search at the specified beginindex and finishing at endindex . if no such byte occurs in this buffer within the specified bounds , -1 is returned . there is no restriction on the value of beginindex and endindex . if beginindex is negative , it has the same effect as if it were zero . if endindex is greater than #length , it has the same effect as if it were #length . if the beginindex is greater than the endindex , -1 is returned . concode_field_sep int len concode_elem_sep byte[] buffer concode_elem_sep long serialVersionUID concode_field_sep int byteAt concode_elem_sep void expand concode_elem_sep void setLength concode_elem_sep byte[] toByteArray concode_elem_sep void clear concode_elem_sep int length concode_elem_sep boolean isEmpty concode_elem_sep void ensureCapacity concode_elem_sep byte[] buffer concode_elem_sep boolean isFull concode_elem_sep void append concode_elem_sep void append concode_elem_sep void append concode_elem_sep void append concode_elem_sep int capacity
target: int function ( byte arg0 , int arg1 , int arg2 ) { if ( arg1 < 0 ) { arg1 = 0 ; } if ( arg2 > this . len ) { arg2 = this . len ; } if ( arg1 > arg2 ) { return - 1 ; } for ( int loc0 = arg1 ; loc0 < arg2 ; loc0 ++ ) { if ( this . buffer [ loc0 ] == arg0 ) { return loc0 ; } } return - 1 ; }