set_dictionary

set_dictionary(string)
Instance Public methods

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

Can raise errors of Z_STREAM_ERROR if a parameter is invalid (such as NULL dictionary) or the stream state is inconsistent, Z_DATA_ERROR if the given dictionary doesn't match the expected one (incorrect adler32 value)

doc_ruby_on_rails
2015-06-14 13:32:35
Comments
Leave a Comment

Please login to continue.