*/
@Override
public void writeObject(FSTObjectOutput out, Object toWrite, FSTClazzInfo clzInfo, FSTClazzInfo.FSTFieldInfo referencedBy, int streamPosition) throws IOException {
FSTStruct str = (FSTStruct) toWrite;
if ( ! str.isOffHeap() ) {
str = str.toOffHeap();
}
int byteSize = str.getByteSize();
out.writeInt(byteSize);
if ( COMPRESS ) {
long base = str.___offset;