boolean function ( byte [ ] arg0 ) { return isWellFormed ( arg0 , 0 , arg0 . length ) ; }
returns true if bytes is a well-formed utf-8 byte sequence according tounicode 6.0 . note that this is a stronger criterion than simply whether the bytes can be decoded . for example , some versions of the jdk decoder will accept `` non-shortest form '' byte sequences , but encoding never reproduces these . such byte sequences are not considered well-formed . this method returns true if and only if arrays.equals bytes , newstring bytes , utf_8 . getbytes utf_8 does , but is more efficient in both time and space . concode_field_sep PlaceHolder placeHolder concode_field_sep int encodedLength concode_elem_sep boolean isWellFormedSlowPath concode_elem_sep int encodedLengthGeneral