Next: , Previous: Portable File Characters, Up: Portable File Format



C.2 Portable File Structure

Every portable file consists of the following records, in sequence:

Most records are identified by a single-character tag code. The file header and version info record do not have a tag.

Other than these single-character codes, there are three types of fields in a portable file: floating-point, integer, and string. Floating-point fields have the following format:

Integer fields take a form identical to floating-point fields, but they may not contain a fraction.

String fields take the form of a integer field having value n, followed by exactly n characters, which are the string content.