Wolfram Language & System 10.0 (2014)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)


writes an encoded version of the file source to the file dest.

decodes the file before reading its contents.

produces an encoded file that must be read in using Get["dest","key"].

Details and OptionsDetails and Options

  • Encoded files contain only printable ASCII characters. They begin with a special sequence that is recognized by Get.
  • On certain computer systems Encode["source","dest",MachineID->"ID"] can be used to generate an encoded file that can be read only on a computer with a particular $MachineID.
  • No function is provided in the Wolfram Language to convert encoded files back to their original form.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Set up the name of a file that can be used as temporary storage:

Click for copyable input

Encode the package file , putting the results in the temporary file:

Click for copyable input

The file is visually unreadable:

Use Get to decode and load the file:

Click for copyable input

This has loaded the definitions of the package:

Click for copyable input
Introduced in 1991