Interface ArgumentDeserializer
- All Known Implementing Classes:
AbstractType.DefaultArgumentDeserializer,NumberType.NumberArgumentDeserializer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Utility used to deserialize function arguments.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ArgumentDeserializerAnArgumentDeserializerthat do not deserialize data. -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(ProtocolVersion protocolVersion, ByteBuffer buffer) Deserializes the specified function argument.
-
Field Details
-
NOOP_DESERIALIZER
AnArgumentDeserializerthat do not deserialize data.
-
-
Method Details
-
deserialize
Deserializes the specified function argument.- Parameters:
protocolVersion- the protocol versionbuffer- the serialized argument- Returns:
- the deserialized argument
-