Static Public Member Functions | |
static< T > T | fromByteArray (byte[] data, Class< T > messageType) |
static< T > T | fromByteArray (byte[] data, Class< T > messageType) |
static< T > T | fromByteArray (byte[] data, Class< T > messageType, ExtensionRegistryLite extensionRegistry) |
static< T > T | fromByteArray (byte[] data, Class< T > messageType, ExtensionRegistryLite extensionRegistry) |
static< T > byte[] | toByteArray (T msg) throws IOException |
static< T > byte[] | toByteArray (T msg) throws IOException |
static< T > byte[] | toByteArray (T msg, Schema< T > schema) throws IOException |
static< T > byte[] | toByteArray (T msg, Schema< T > schema) throws IOException |
Static Private Member Functions | |
static< T > T | fromByteArrayFastPath (byte[] data, Class< T > messageType) |
static< T > T | fromByteArrayFastPath (byte[] data, Class< T > messageType) |
Utilities for serialization.
Definition at line 38 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ExperimentalSerializationUtil.java.
|
inlinestatic |
Deserializes a message from the given byte array.
Definition at line 75 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ExperimentalSerializationUtil.java.
|
inlinestatic |
Deserializes a message from the given byte array.
Definition at line 75 of file protobuf/java/core/src/test/java/com/google/protobuf/ExperimentalSerializationUtil.java.
|
inlinestatic |
Deserializes a message from the given byte array using com.google.protobuf.BinaryReader with an extension registry and a customized Schema.
Definition at line 87 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ExperimentalSerializationUtil.java.
|
inlinestatic |
Deserializes a message from the given byte array using com.google.protobuf.BinaryReader with an extension registry and a customized Schema.
Definition at line 87 of file protobuf/java/core/src/test/java/com/google/protobuf/ExperimentalSerializationUtil.java.
|
inlinestaticprivate |
Deserializes a lite message from the given byte array using fast path.
Definition at line 102 of file protobuf/java/core/src/test/java/com/google/protobuf/ExperimentalSerializationUtil.java.
|
inlinestaticprivate |
Deserializes a lite message from the given byte array using fast path.
Definition at line 102 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ExperimentalSerializationUtil.java.
|
inlinestatic |
Serializes the given message to a byte array using com.google.protobuf.BinaryWriter.
Definition at line 43 of file protobuf/java/core/src/test/java/com/google/protobuf/ExperimentalSerializationUtil.java.
|
inlinestatic |
Serializes the given message to a byte array using com.google.protobuf.BinaryWriter.
Definition at line 43 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ExperimentalSerializationUtil.java.
|
inlinestatic |
Serializes the given message to a byte array using com.google.protobuf.BinaryWriter with a customized Schema.
Definition at line 51 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ExperimentalSerializationUtil.java.
|
inlinestatic |
Serializes the given message to a byte array using com.google.protobuf.BinaryWriter with a customized Schema.
Definition at line 51 of file protobuf/java/core/src/test/java/com/google/protobuf/ExperimentalSerializationUtil.java.