BinarySerialize

BinarySerialize[expr]

gives a binary representation of any expression expr as a ByteArray object.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Serialize an expression:

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

Serialize a graphic:

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

Convert the serialized form back to an expression:

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

Scope  (7)

Options  (4)

Applications  (1)

Properties & Relations  (4)

Possible Issues  (2)

See Also

BinaryDeserialize  DumpSave  Compress  ExportByteArray  ByteArray  BaseEncode  ByteArrayToString  StringToByteArray  Export  FullForm  InputForm  BinaryWrite

Tutorials

Introduced in 2017
(11.1)
| Updated in 2018
(11.3)