To obtain information of the stream has reashed its end then use the EOF function.
Returns: True if the stream has reached its end.
AppleSingleEncoderStream Class