如何在WindowsCE中序列化对象 [英] How to serialize object in WindowsCE

查看:112
本文介绍了如何在WindowsCE中序列化对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我想在WindowsCE紧凑框架中进行对象序列化。



BinaryFormatter紧凑的框架中缺少类。







任何人都可以告诉序列化将如何完成。



提前致谢。

Hi,

I wanted to do object serialization in WindowsCE compact framework.

The BinaryFormatter class is missing in compact framework.



Can anyone tell how will the serialization will be done.

Thanks in advance.

推荐答案

你必须自己酿造 - 这可能有所帮助: ByteArrayBuilder - 字节的StringBuilder [ ^ ]

我用它用于构建特定格式文件构造的字节数组,等等。
You will have to "brew your own" - this may help: ByteArrayBuilder - a StringBuilder for Bytes[^]
I use it for building byte arrays for specific format file construction, among other things.


这篇关于如何在WindowsCE中序列化对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆