class CommonMarshallableReaderWriter<V extends CommonMarshallable>
        extends CachingCreatingMarshaller<V> {

    public CommonMarshallableReaderWriter(Class<V> vClass) {
        super(vClass);
    }

    @NotNull
    @Override
    public V read(Bytes in, long size, @Nullable V using) {<FILL_FUNCTION_BODY>}

    @Override
    protected void writeToWire(Wire wire, @NotNull V toWrite) {
        if (toWrite.usesSelfDescribingMessage()) {
            ((WriteMarshallable) toWrite).writeMarshallable(wire);
        } else {
            ((WriteBytesMarshallable) toWrite).writeMarshallable(wire.bytes());
        }
    }
}

        if (using == null)
            using = createInstance();
        if (using.usesSelfDescribingMessage()) {
            ((ReadMarshallable) using).readMarshallable(Wires.binaryWireForRead(in, in.readPosition(), size));
        } else {
            ((ReadBytesMarshallable) using).readMarshallable(in);
        }
        return using;
    
<methods>public void <init>(Class<V>) ,public long size(V) ,public void write(Bytes#RAW, long, V) <variables>static final ThreadLocal<java.lang.Object> LAST_TL,static final ThreadLocal<net.openhft.chronicle.wire.Wire> WIRE_TL