BinaryDeserialize

BinaryDeserialize[ByteArray[]]

从由 BinarySerialize 产生的二进制表示中恢复表达式.

BinaryDeserialize[ByteArray[],h]

在返回前,用 h 封装产生的表达式.

更多信息

范例

打开所有单元关闭所有单元

基本范例  (2)

序列化一个表达式:

反序列化:

序列化一个图形:

把字节数组转换回一个表达式:

范围  (3)

序列化一个普通的表达式:

反序列化:

序列化一个未计算的表达式:

反序列化并保留:

从一个未知资源中接收序列化表达式:

把结果用 HoldComplete 封装防止不期望的计算:

属性和关系  (1)

来自文件的序列化数据应该使用二进制函数,例如 BinaryReadList 读取:

Wolfram Research (2017),BinaryDeserialize,Wolfram 语言函数,https://reference.wolfram.com/language/ref/BinaryDeserialize.html.

文本

Wolfram Research (2017),BinaryDeserialize,Wolfram 语言函数,https://reference.wolfram.com/language/ref/BinaryDeserialize.html.

CMS

Wolfram 语言. 2017. "BinaryDeserialize." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/BinaryDeserialize.html.

APA

Wolfram 语言. (2017). BinaryDeserialize. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/BinaryDeserialize.html 年

BibTeX

@misc{reference.wolfram_2024_binarydeserialize, author="Wolfram Research", title="{BinaryDeserialize}", year="2017", howpublished="\url{https://reference.wolfram.com/language/ref/BinaryDeserialize.html}", note=[Accessed: 05-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_binarydeserialize, organization={Wolfram Research}, title={BinaryDeserialize}, year={2017}, url={https://reference.wolfram.com/language/ref/BinaryDeserialize.html}, note=[Accessed: 05-November-2024 ]}