WOLFRAM

Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how
Wolfram Language & System Documentation Center

BinaryDeserialize [ByteArray []]

recovers an expression from a binary representation generated by BinarySerialize .

BinaryDeserialize [ByteArray [],h]

wraps h around the expression produced before returning it.

Details
Details and Options Details and Options
Examples  
Basic Examples  
Scope  
Properties & Relations  
See Also
Related Guides
History
Cite this Page

BinaryDeserialize [ByteArray []]

recovers an expression from a binary representation generated by BinarySerialize .

BinaryDeserialize [ByteArray [],h]

wraps h around the expression produced before returning it.

Details

Examples

open all close all

Basic Examples  (2)

Serialize an expression:

Deserialize it:

Serialize a graphic:

Convert the byte array back to an expression:

Scope  (3)

Serialize a general expression:

Deserialize it:

Serialize an unevaluated expression:

Deserialize it and keep it held:

Receive a serialized expression from an unknown source:

Wrap the result in HoldComplete to prevent unexpected evaluation:

Properties & Relations  (1)

Serialized data from files should be read in using binary-mode functions such as BinaryReadList :

Wolfram Research (2017), BinaryDeserialize, Wolfram Language function, https://reference.wolfram.com/language/ref/BinaryDeserialize.html.

Text

Wolfram Research (2017), BinaryDeserialize, Wolfram Language function, https://reference.wolfram.com/language/ref/BinaryDeserialize.html.

CMS

Wolfram Language. 2017. "BinaryDeserialize." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/BinaryDeserialize.html.

APA

Wolfram Language. (2017). BinaryDeserialize. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BinaryDeserialize.html

BibTeX

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

BibLaTeX

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

Top [フレーム]

AltStyle によって変換されたページ (->オリジナル) /