1.3.1.3 File Attachment Data Format

This structure is used to represent an attached file inside a form file. The attached file can be retrieved by parsing and processing this structure.

The file attachment structure is composed of two parts: file metadata and file bytes. The file metadata contains information about the attachment, such as the file name and the size of the file in bytes. The file bytes contain the bytes of the attached file encoded in base 64, as described in [RFC4648].

The following figure illustrates the file attachment structure.

File attachment structure

Figure 2: File attachment structure

The file attachment structure is described in section 2.1.3. For a detailed example, see section 3.1.3.