tells whether the given byte array slice is a well-formed , malformed , or incomplete utf-8 byte sequence . the range of bytes to be checked extends from index index , inclusive , to limit , exclusive . this is a convenience method , equivalent to a call to partialisvalidutf8 utf8.complete , bytes , index , limit . concode_field_sep int MALFORMED concode_elem_sep int COMPLETE concode_field_sep boolean isValidUtf8 concode_elem_sep boolean isValidUtf8 concode_elem_sep int partialIsValidUtf8NonAscii concode_elem_sep int incompleteStateFor concode_elem_sep int incompleteStateFor concode_elem_sep int incompleteStateFor concode_elem_sep int incompleteStateFor
int function ( byte [ ] arg0 , int arg1 , int arg2 ) { while ( arg1 < arg2 && arg0 [ arg1 ] >= 0 ) { arg1 ++ ; } return ( arg1 >= arg2 ) ? COMPLETE : partialIsValidUtf8NonAscii ( arg0 , arg1 , arg2 ) ; }