question: locates the preamble in the given buffer . concode_field_sep byte[] PREAMBLE concode_elem_sep byte[] POSTAMBLE concode_elem_sep String PREAMBLE_STR concode_elem_sep long serialVersionUID concode_elem_sep String POSTAMBLE_STR concode_field_sep ConsoleAnnotationDescriptor getDescriptor concode_elem_sep String encode concode_elem_sep List<String> removeNotes concode_elem_sep String removeNotes concode_elem_sep ConsoleNote readFrom concode_elem_sep ByteArrayOutputStream encodeToBytes concode_elem_sep ConsoleAnnotator annotate concode_elem_sep void skip concode_elem_sep void encodeTo concode_elem_sep void encodeTo
target: int function ( byte [ ] arg0 , int arg1 , int arg2 ) { int loc0 = arg1 + arg2 - PREAMBLE . length + 1 ; OUTER : for ( int loc1 = arg1 ; loc1 < loc0 ; loc1 ++ ) { if ( arg0 [ loc1 ] == PREAMBLE [ 0 ] ) { for ( int loc2 = 1 ; loc2 < PREAMBLE . length ; loc2 ++ ) { if ( arg0 [ loc1 + loc2 ] != PREAMBLE [ loc2 ] ) continue OUTER ; } return loc1 ; } } return - 1 ; }