Example usage for Java com.google.common.base Utf8 fields, constructors, methods, implement or subclass
The text is from its open source code.
int | encodedLength(CharSequence sequence) Returns the number of bytes in the UTF-8-encoded form of sequence . |
boolean | isWellFormed(byte[] bytes) Returns true if bytes is a well-formed UTF-8 byte sequence according to Unicode 6.0. |