Class Codec.NullPassthroughCodec<A,B>

java.lang.Object
io.datarouter.bytes.Codec.FunctionalCodec<A,B>
io.datarouter.bytes.Codec.NullPassthroughCodec<A,B>
All Implemented Interfaces:
Codec<A,B>
Enclosing interface:
Codec<A,B>

public static class Codec.NullPassthroughCodec<A,B> extends Codec.FunctionalCodec<A,B>
Skips the inner codecs when provided values are null, directly returning null.