@@ -0,0 +1,1468 @@
+package com.github.minaasham.offheap.largecollections;%0A%0Aimport com.github.minaasham.offheap.largecollections.serialization.FixedSizeObjectSerializer;%0Aimport com.github.minaasham.offheap.largecollections.serialization.MemoryReader;%0Aimport com.github.minaasham.offheap.largecollections.serialization.MemoryWriter;%0A%0A/**%0A * A zero-bytes fixed serializer, used to create sets from map implementations without using more memory%0A */%0Afinal class ZeroBytesFixedSerializer extends FixedSizeObjectSerializer%3CObject%3E %7B%0A%0A    /**%0A     * Dummy object that serves as a place holder the actual value%0A     */%0A    static final Object DUMMY = new Object();%0A%0A    /**%0A     * Singleton instance of the %7B@link ZeroBytesFixedSerializer%7D class%0A     */%0A    static final ZeroBytesFixedSerializer INSTANCE = new ZeroBytesFixedSerializer();%0A%0A    /**%0A     * ZeroBytesFixedSerializer constructor%0A     */%0A    private ZeroBytesFixedSerializer() %7B%0A        super(0);%0A    %7D%0A%0A    /**%0A     * No-op serializer%0A     *%0A     * @param writer The writer that is used for serialization%0A     * @param object The object to serialize%0A     */%0A    @Override%0A    public void serialize(MemoryWriter writer, Object object) %7B%0A    %7D%0A%0A    /**%0A     * No-op deserializer, always returns the same object%0A     *%0A     * @param reader The reader that is used for deserialization%0A     * @return Always returns the DUMMY object%0A     */%0A    @Override%0A    public Object deserialize(MemoryReader reader) %7B%0A        return DUMMY;%0A    %7D%0A%7D%0A

Add ZeroBytesFixedSerializer, a zero bytes no-op serializer