1.最常用的两种C++序列化方案的使用心得(protobuf和boostserialization)http://www.cnblogs.com/lanxuezaipiao/p/3703988.html2.http://www.iteye.com/topic/3190633.C语言的数据序列化http://blog.codingnow.com/2010/03/c_serialization.html4.asio与序列化——被忽略的神..
分类:
编程语言 时间:
2014-12-01 16:13:39
阅读次数:
201
1、新建wcf服务,可以新建类,按照wcf服务的标准进行编写。 接口:using System;using System.Collections.Generic;using System.Linq;using System.Runtime.Serialization;using System.Ser...
分类:
其他好文 时间:
2014-12-01 00:49:58
阅读次数:
127
一、定义抽象类及子类,WebMethod实际返回子类参数 //使用XmlInclude解决WebService调用时无法识别子类的异常 [System.Xml.Serialization.XmlInclude(typeof(WageEmploeyee)), System.Xml.Serial...
分类:
Web程序 时间:
2014-11-29 21:41:07
阅读次数:
263
一、定义序列化实体类 [System.Xml.Serialization.XmlRoot("Custome_Xml_Root_Name")] //自定义生成的Xml根目录名称 public class Customer { [System.Xml.Serializati...
分类:
Web程序 时间:
2014-11-29 21:40:42
阅读次数:
225
Edit-Project Setting-Editor-Asset Serialization-mode Force Text
分类:
编程语言 时间:
2014-11-29 18:59:07
阅读次数:
382
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.IO; 6 using System.Xml.Serialization; 7 ....
分类:
其他好文 时间:
2014-11-29 01:21:59
阅读次数:
176
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Web; 5 using System.Runtime.Serialization.Json; 6 using Syste....
分类:
Web程序 时间:
2014-11-28 18:11:41
阅读次数:
178
Script Serializationhttp://docs.unity3d.com/Manual/script-Serialization.html自定义序列化及例子:http://docs.unity3d.com/ScriptReference/ISerializationCallbackRe...
分类:
编程语言 时间:
2014-11-26 13:50:31
阅读次数:
931
Clone GraphClone an undirected graph. Each node in the graph contains alabeland a list of itsneighbors.OJ's undirected graph serialization:Nodes are l...
分类:
其他好文 时间:
2014-11-24 20:35:18
阅读次数:
243
1.序列化到txt文件中
//Person.java
package com.huowolf.api;
import java.io.Serializable;
/*
* 把对象转换为字节序列的过程称为对象的序列化。
* 把字节序列恢复为对象的过程称为对象的反序列化。
*
* 任何类型只要实现了Serializable接口,就可以被保存到文件中,
* 或者作为数据流通过...
分类:
编程语言 时间:
2014-11-23 09:24:23
阅读次数:
280