Method: LZMA::Encoder#close
- Defined in:
- lib/extlzma2/encoder.rb
#close ⇒ Object
30 31 32 33 34 35 36 37 38 |
# File 'lib/extlzma2/encoder.rb', line 30 def close raise "already closed stream - #{inspect}" if eof? self.class.method(:finalizer_close).call(context, outport, workbuf) status[0] = nil nil end |