class LZWS::Stream::Raw::Compressor

LZWS::Stream::Raw::Compressor class.

Constants

NativeCompressor

Current native compressor class.

Option

LZWS::Option module.

Public Instance Methods

flush(&writer) click to toggle source

Flushes raw stream and writes next result using writer proc.

# File lib/lzws/stream/raw/compressor.rb, line 22
def flush(&writer)
  do_not_use_after_close

  Validation.validate_proc writer

  write_result(&writer)

  nil
end