Import & Export of ByteArray
ByteArray objects can be used to store file contents. This example shows how a format can be inferred from the byte array representation of a file and how the byte array can be converted to an expression and vice versa.
This is the first 100 characters of the Base64-encoded byte array.
Size of the ByteArray is almost equivalent to the file size.
ByteArrayFormat can be used to check if a given ByteArray object stores data in a supported file format.
ImportByteArray is an inverse operation that allows to restore expressions from ByteArray.
ExportByteArray can be used to generate ByteArray objects instead of files for all formats supported by Export.