Stream
From GNUpdf
A sequence of bytes.
Unlike strings:
- Can be readed incrementally
- Can be of unlmited length
<dictionary>
stream {EOL - CR alone}
[byte]*
endstream
If there is a EOL before endstream, it is not included in the stream length contained in the stream dictionary.
Starting with PDF 1.2, the bytes may be contained in an external file named in the stream dictionary, and any byte enclosed between stream and endstream is ignored.
| Common entries for stream dictionaries | |||
|---|---|---|---|
| key | constraints | type | description |
| /Length | required | integer | length of the unfiltered stream in octects |
| /Filter | optional | name or array of names | one or more names of filters that should be applied to the stream content in order to get the original contents |
| /DecodeParms | optional | dictionary or array of dictionaries | one or more dictionaries containing the parameters of the decoding filters |
| /F | optional | file specification | stream contents are stored in a external file |
| /FFilter | optional | name or array of names | same as /Filter buf applies to external files |
| /FDecodeParms | optional | dictionary or array of dictionaries | same as /DecodeParms but applies to external files |
| /DL | optional | integer | starting in PDF 1.5 |



