A stream object is a sequence of bytes of unlimited length.
The stream is represented as a dictionary followed by the
stream keyword, the sequence of bytes, and the
endstream keyword.
The
stream keyword must be followed by a carriage return/line feed pair, or just a line feed. Carriage return alone is not allowed.
The dictionary should specify the number of bytes in the stream indicated by a key of
Length.
There should be an end of line marker after the stream and before the
endstream keyword. This end of line marker is not part of the stream.
dictionary
stream
this is a stream of stuff.
More stuff
endstream
Key | Type | Required? | Description |
Length | integer | Required | The number of bytes in the stream. |
Filter | name or array | Optional | The name of the filter(s) to be applied to the stream |
DecodeParms | dictionary or array | Optional | parameter dictionary(ies) to be used by filter(s). |
DL | integer | Optional | A hint as to the length of the filtered stream. |