next up previous contents
Next: Host Encodings Up: 2.2 CDFs Previous: Performance

2.2.8 Encoding

     

The encoding of a CDF determines how attribute entry data and variable data values are stored on disk in the CDF file(s). An application program never has to concern itself with the encoding of the CDF being accessed. The CDF library performs all of the encoding and decoding of data values for the application.

A CDF's encoding is specified when the CDF is created when using the Standard Interface but is set to the default encoding for your CDF distribution when created using the Internal Interface. The encoding of an existing CDF may be changed   with the Internal Interface if no variable values or attribute entries have been written (variables and attributes may exist, however). If the SkeletonCDF   toolkit program is used to create a CDF the encoding is specified in the skeleton table (see Section 3.8).

The encoding specified when creating/modifying a CDF may be any of the native encodings for the computers supported by CDF in addition to network (XDR) encoding.gif A CDF with any supported encoding is also readable on any computer supported by CDF.





cdfsupport@nssdca.gsfc.nasa.gov