Static Private Member Functions | |
| static void | handleFourBytes (byte byte1, byte byte2, byte byte3, byte byte4, char[] resultArr, int resultPos) throws InvalidProtocolBufferException |
| static void | handleFourBytes (byte byte1, byte byte2, byte byte3, byte byte4, char[] resultArr, int resultPos) throws InvalidProtocolBufferException |
| static void | handleOneByte (byte byte1, char[] resultArr, int resultPos) |
| static void | handleOneByte (byte byte1, char[] resultArr, int resultPos) |
| static void | handleThreeBytes (byte byte1, byte byte2, byte byte3, char[] resultArr, int resultPos) throws InvalidProtocolBufferException |
| static void | handleThreeBytes (byte byte1, byte byte2, byte byte3, char[] resultArr, int resultPos) throws InvalidProtocolBufferException |
| static void | handleTwoBytes (byte byte1, byte byte2, char[] resultArr, int resultPos) throws InvalidProtocolBufferException |
| static void | handleTwoBytes (byte byte1, byte byte2, char[] resultArr, int resultPos) throws InvalidProtocolBufferException |
| static char | highSurrogate (int codePoint) |
| static char | highSurrogate (int codePoint) |
| static boolean | isNotTrailingByte (byte b) |
| static boolean | isNotTrailingByte (byte b) |
| static boolean | isOneByte (byte b) |
| static boolean | isOneByte (byte b) |
| static boolean | isThreeBytes (byte b) |
| static boolean | isThreeBytes (byte b) |
| static boolean | isTwoBytes (byte b) |
| static boolean | isTwoBytes (byte b) |
| static char | lowSurrogate (int codePoint) |
| static char | lowSurrogate (int codePoint) |
| static int | trailingByteValue (byte b) |
| static int | trailingByteValue (byte b) |
Utility methods for decoding bytes into String. Callers are responsible for extracting bytes (possibly using Unsafe methods), and checking remaining bytes. All other UTF-8 validity checks and codepoint conversion happen in this class.
Definition at line 1883 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Utf8.java.
|
inlinestaticprivate |
Definition at line 1930 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Utf8.java.
|
inlinestaticprivate |
Definition at line 1950 of file protobuf/java/core/src/main/java/com/google/protobuf/Utf8.java.
|
inlinestaticprivate |
Definition at line 1900 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Utf8.java.
|
inlinestaticprivate |
Definition at line 1920 of file protobuf/java/core/src/main/java/com/google/protobuf/Utf8.java.
|
inlinestaticprivate |
Definition at line 1914 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Utf8.java.
|
inlinestaticprivate |
Definition at line 1934 of file protobuf/java/core/src/main/java/com/google/protobuf/Utf8.java.
|
inlinestaticprivate |
Definition at line 1904 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Utf8.java.
|
inlinestaticprivate |
Definition at line 1924 of file protobuf/java/core/src/main/java/com/google/protobuf/Utf8.java.
|
inlinestaticprivate |
Definition at line 1965 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Utf8.java.
|
inlinestaticprivate |
Definition at line 1985 of file protobuf/java/core/src/main/java/com/google/protobuf/Utf8.java.
|
inlinestaticprivate |
Returns whether the byte is not a valid continuation of the form '10XXXXXX'.
Definition at line 1956 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Utf8.java.
|
inlinestaticprivate |
Returns whether the byte is not a valid continuation of the form '10XXXXXX'.
Definition at line 1976 of file protobuf/java/core/src/main/java/com/google/protobuf/Utf8.java.
|
inlinestaticprivate |
Returns whether this is a single-byte codepoint (i.e., ASCII) with the form '0XXXXXXX'.
Definition at line 1886 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Utf8.java.
|
inlinestaticprivate |
Returns whether this is a single-byte codepoint (i.e., ASCII) with the form '0XXXXXXX'.
Definition at line 1906 of file protobuf/java/core/src/main/java/com/google/protobuf/Utf8.java.
|
inlinestaticprivate |
Returns whether this is a three-byte codepoint with the form '110XXXXX'.
Definition at line 1896 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Utf8.java.
|
inlinestaticprivate |
Returns whether this is a three-byte codepoint with the form '110XXXXX'.
Definition at line 1916 of file protobuf/java/core/src/main/java/com/google/protobuf/Utf8.java.
|
inlinestaticprivate |
Returns whether this is a two-byte codepoint with the form '10XXXXXX'.
Definition at line 1891 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Utf8.java.
|
inlinestaticprivate |
Returns whether this is a two-byte codepoint with the form '10XXXXXX'.
Definition at line 1911 of file protobuf/java/core/src/main/java/com/google/protobuf/Utf8.java.
|
inlinestaticprivate |
Definition at line 1970 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Utf8.java.
|
inlinestaticprivate |
Definition at line 1990 of file protobuf/java/core/src/main/java/com/google/protobuf/Utf8.java.
|
inlinestaticprivate |
Returns the actual value of the trailing byte (removes the prefix '10') for composition.
Definition at line 1961 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Utf8.java.
|
inlinestaticprivate |
Returns the actual value of the trailing byte (removes the prefix '10') for composition.
Definition at line 1981 of file protobuf/java/core/src/main/java/com/google/protobuf/Utf8.java.