BinaryDeserialize

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 allclose all

Basic Examples  (2)

Serialize an expression:

In[1]:=
Click for copyable input
Out[1]=

Deserialize it:

In[2]:=
Click for copyable input
Out[2]=

Serialize a graphic:

In[1]:=
Click for copyable input
Out[1]=

Convert the byte array back to an expression:

In[2]:=
Click for copyable input
Out[2]=

Scope  (3)

Properties & Relations  (1)

See Also

BinarySerialize  Import  ToExpression

Introduced in 2017
(11.1)