二进制序列化的主要问题就是它的脆弱性。
Much of the problem with binary serialization is its brittleness.
尝试反序列化使用二进制序列化的属性类型失败。
A failed attempt to deserialize a property type that USES binary serialization.
实际上,只需将二进制序列化流的内容转储到控制台,就足以看清类是什么样子,以及它包含什么内容。
In fact, just dumping the contents of the binary serialized stream to the console is sufficient to figure out what the class looks like and contains.
我们也希望,最终能提供对来自于底层WCF服务的所有强大功能和灵活性(比如对二进制序列化的高度优化)的完整支持。
We also expect to eventually provide full access to all the power and flexibility from the underlying WCF services such as highly optimized binary serialization.
另外,协议是二进制的,而不是文本的,这样就排除了费时的序列化过程。
In addition, the protocol is binary, not textual, which removes the costly serialization process.
sql语句的二进制表示是在一个单独的序列化概要文件(.ser文件)中创建的。
A binary representation of the SQL statements is created in a separate serialized profile (.ser file).
使用二进制代码做序列化的问题之一就是你无法去查看结果。
One of the problems with binary serialization is you can't look at the result.
例如,在数据库中传输和存储数据时,就需要考虑介于字符和二进制之间的序列化格式。
For data transfer and storage in a database, for example, you have to think about the variations between character and binary serialization.
则该属性实际上保证了可以使用已序列化的二进制数据对信息进行语义排序。
Property in effect guarantees that the serialized binary data can be used for semantic ordering of the information.
我们知道序列化的过程将对象保存在一个存储介质(如一个文件或内存缓冲区)或传输二进制形式通过网络连接。
As we know Serialization is the process of saving an object in a storage medium (such as a file, or a memory buffer) or to transmit it over a network connection in binary form.
在你的例子的代码会将二进制数据流中提取的,它几乎是不可能的,除非你反序列化的成员以他们已系列。
The code in your example will put binary data in the stream that it is nearly impossible to extract, unless you deserialize members in the order they have been serialized.
在你的例子的代码会将二进制数据流中提取的,它几乎是不可能的,除非你反序列化的成员以他们已系列。
The code in your example will put binary data in the stream that it is nearly impossible to extract, unless you deserialize members in the order they have been serialized.
应用推荐