当前找到三种说法,下面是其中两种:
By default, data types designated primitive by Implementation Level class serialization trait are
never tracked. If it is desired to track a shared primitive object through a pointer (e.g. a long
used as a reference count), It should be wrapped in a class/struct so that it is an identifiable
type. The alternative of changing the implementation level of a long would affect all longs
serialized in the whole program - probably not what one would intend.
第三种是手动分配内存,进行读入写出。