protected void internalSerialize(PofWriter out, Object origValue) throws IOException {
Object value = replace(origValue);
Class<?> type = value.getClass();
PofSerializer format = getClassCodec(type);
format.serialize(out, value);
}
/**
* Exposed to be used in AutoPofSerializer.
*/