static <T> KryoSerializer<T> fromSerializer(final Serializer<T> serializer) {
        return new KryoSerializer<T>() {
            @Override
            public T read(final Input input) {
                return serializer.read(null, input, null);
            }

            @Override
            public void write(final Output output, final T object) {
                serializer.write(null, output, object);
            }
        };
    }
Adapter to allow the use of {@link Serializer} objects unless they make use of kryo or type arguments
stroom-lmdb/src/main/java/stroom/lmdb/serde/KryoSerializer.java