Package io.datarouter.bytes
Class Codec.FunctionalCodec<A,B>
java.lang.Object
io.datarouter.bytes.Codec.FunctionalCodec<A,B>
- All Implemented Interfaces:
Codec<A,B>
- Direct Known Subclasses:
Codec.NullPassthroughCodec
Build a Codec from two Functions.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.datarouter.bytes.Codec
Codec.FunctionalCodec<A,B>, Codec.NullPassthroughCodec<A, B> -
Field Summary
Fields inherited from interface io.datarouter.bytes.Codec
IDENTITY_INSTANCE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.datarouter.bytes.Codec
encodeAndDecode