void IExternalizable.WriteExternal(IExternalWriter writer) { writer.WriteByte(Amf3Type.Object); if (writer.WriteReference(this)) return; //动态对象方式 writer.WriteByte(0x0b); writer.WriteByte(0x01); this.WriteAmf3(writer); writer.WriteByte(0x01); }