Class: LZMA::Stream::RawDecoder
- Inherits:
-
LZMA::Stream
- Object
- LZMA::Stream
- LZMA::Stream::RawDecoder
- Defined in:
- ext/extlzma2/stream.c
Instance Method Summary collapse
- #initialize(argv[], stream) ⇒ Object constructor
Methods inherited from LZMA::Stream
auto_decoder, #code, decoder, encoder, raw_decoder, raw_encoder
Constructor Details
#initialize(filter1) ⇒ Object #initialize(filter1, filter2) ⇒ Object #initialize(filter1, filter2, filter3) ⇒ Object #initialize(filter1, filter2, filter3, filter4) ⇒ Object
390 391 392 393 394 395 396 397 398 399 400 |
# File 'ext/extlzma2/stream.c', line 390
static VALUE rawdecoder_init(int argc, VALUE argv[], VALUE stream)
{
lzma_stream *p = getstream(stream);
lzma_filter filterpack[LZMA_FILTERS_MAX + 1];
ext_encoder_init_scanargs(stream, argc, argv, filterpack, NULL);
AUX_LZMA_TEST(RETRY_NOMEM(2, lzma_raw_decoder(p, filterpack)));
return stream;
}
|