Class ProtobufWireFormatDecoder

java.lang.Object
com.amazonaws.services.schemaregistry.deserializers.protobuf.ProtobufWireFormatDecoder

public class ProtobufWireFormatDecoder extends Object
  • 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