def set_dictionary(dictionary)
      dict = StringValue dictionary

      err = Zlib.deflateSetDictionary pointer, dict, dict.length

      Zlib.handle_error err, message

      dictionary
    end
def set_dictionary(dictionary)
      dict = StringValue dictionary

      err = Zlib.deflateSetDictionary pointer, dict, dict.length

      Zlib.handle_error err, message

      dictionary
    end
Sets the preset dictionary and returns +dictionary+. This method is
 available just only after Zlib::Deflate.new or Zlib::ZStream#reset
 method was called.  See zlib.h for details.