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  (3)

Options  (1)

Applications  (1)

Properties & Relations  (3)

See Also

BinaryDeserialize  DumpSave  Export  ByteArray  Compress  FullForm  InputForm  BinaryWrite  Encrypt

Introduced in 2017
(11.1)