class Origami::Stream

def initialize(data = ::String.new, dictionary = {})


_dictionary_:: A hash representing the Stream attributes.
_data_:: The Stream uncompressed data.
Creates a new PDF Stream.
def initialize(data = ::String.new, dictionary = {})
    super()
    set_indirect(true)
    @encoded_data = nil
    @dictionary, @data = Dictionary.new(dictionary), data
    @dictionary.parent = self
end