Class ProtobufWireFormatDecoder
java.lang.Object
com.amazonaws.services.schemaregistry.deserializers.protobuf.ProtobufWireFormatDecoder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecode(@lombok.NonNull byte[] data, com.google.protobuf.Descriptors.FileDescriptor descriptor, ProtobufMessageType messageType) static org.apache.commons.lang3.tuple.Pair<Integer,com.google.protobuf.CodedInputStream> getAndRemoveMessageIndex(byte[] data)
-
Constructor Details
-
ProtobufWireFormatDecoder
public ProtobufWireFormatDecoder()
-
-
Method Details
-
getAndRemoveMessageIndex
public static org.apache.commons.lang3.tuple.Pair<Integer,com.google.protobuf.CodedInputStream> getAndRemoveMessageIndex(byte[] data) throws IOException - Throws:
IOException
-
decode
public Object decode(@NonNull @lombok.NonNull byte[] data, @NonNull com.google.protobuf.Descriptors.FileDescriptor descriptor, ProtobufMessageType messageType) throws IOException - Throws:
IOException
-