- java.lang.Object
-
- swim.protobuf.decoder.ProtobufDecoder
-
public class ProtobufDecoder extends Object
-
-
Constructor Summary
Constructors Constructor Description ProtobufDecoder()
-
Method Summary
-
-
-
Method Detail
-
decodeType
public <T> Decoder<T> decodeType(InputBuffer input, ProtobufType<T> type)
-
decodePrimitive
public <T> Decoder<T> decodePrimitive(InputBuffer input, ProtobufPrimitiveType<T> type)
-
decodeComplex
public <T> Decoder<T> decodeComplex(InputBuffer input, ProtobufComplexType<T> type)
-
decodeVarint
public <T> Decoder<T> decodeVarint(InputBuffer input, ProtobufVarintType<T> type)
-
decodeZigZag
public <T> Decoder<T> decodeZigZag(InputBuffer input, ProtobufZigZagType<T> type)
-
decodeFixed32
public <T> Decoder<T> decodeFixed32(InputBuffer input, ProtobufFixed32Type<T> type)
-
decodeFixed64
public <T> Decoder<T> decodeFixed64(InputBuffer input, ProtobufFixed64Type<T> type)
-
decodeData
public <T> Decoder<T> decodeData(InputBuffer input, ProtobufDataType<T> type)
-
decodeString
public <T> Decoder<T> decodeString(InputBuffer input, ProtobufStringType<T> type)
-
decodeMessage
public <T,M> Decoder<T> decodeMessage(InputBuffer input, ProtobufMessageType<T,M> type)
-
decodePayload
public <T,M> Decoder<T> decodePayload(InputBuffer input, ProtobufMessageType<T,M> type)
-
decodeRepeated
public <I,T> Decoder<T> decodeRepeated(InputBuffer input, ProtobufRepeatedType<I,T> type)
-
typeDecoder
public <T> Decoder<T> typeDecoder(ProtobufType<T> type)
-
primitiveDecoder
public <T> Decoder<T> primitiveDecoder(ProtobufPrimitiveType<T> type)
-
complexDecoder
public <T> Decoder<T> complexDecoder(ProtobufComplexType<T> type)
-
varintDecoder
public <T> Decoder<T> varintDecoder(ProtobufVarintType<T> type)
-
zigZagDecoder
public <T> Decoder<T> zigZagDecoder(ProtobufZigZagType<T> type)
-
fixed32Decoder
public <T> Decoder<T> fixed32Decoder(ProtobufFixed32Type<T> type)
-
fixed64Decoder
public <T> Decoder<T> fixed64Decoder(ProtobufFixed64Type<T> type)
-
dataDecoder
public <T> Decoder<T> dataDecoder(ProtobufDataType<T> type)
-
stringDecoder
public <T> Decoder<T> stringDecoder(ProtobufStringType<T> type)
-
messageDecoder
public <T,M> Decoder<T> messageDecoder(ProtobufMessageType<T,M> type)
-
payloadDecoder
public <T,M> Decoder<T> payloadDecoder(ProtobufMessageType<T,M> type)
-
repeatedDecoder
public <I,T> Decoder<T> repeatedDecoder(ProtobufRepeatedType<I,T> type)
-
-