Class Utf8.ServerProcessorWithEncodedLength
java.lang.Object
com.google.protobuf.Utf8.Processor
com.google.protobuf.Utf8.ServerProcessor
com.google.protobuf.Utf8.ServerProcessorWithEncodedLength
- Enclosing class:
Utf8
Utf8.Processor that extends Utf8.ServerProcessor and uses
java.lang.String#encodedLength(Charset) on JDK versions that support it.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static Method(package private) intencodedLength(String in) (package private) static booleanMethods inherited from class Utf8.ServerProcessor
decodeUtf8, encodeUtf8, encodeUtf8InternalMethods inherited from class Utf8.Processor
decodeUtf8, decodeUtf8NonArrayByteBuffer, encodeUtf8, encodeUtf8Naive, encodeUtf8Naive
-
Field Details
-
encodedLengthMethod
-
-
Constructor Details
-
ServerProcessorWithEncodedLength
ServerProcessorWithEncodedLength()
-
-
Method Details
-
createEncodedLengthMethod
-
isAvailable
static boolean isAvailable() -
encodedLength
- Overrides:
encodedLengthin classUtf8.Processor
-