该方法只能写入从TComponent继承的类
对于其他类:计算对象长度InstanceSize
不过最好是由对象自己提供SaveToStream和LoadFromStream函数。