commit | d1cf4b1fb757a54c780f21e502d72d9a0a3dc7f4 | [log] [tgz] |
---|---|---|
author | Lasse Collin <lasse.collin@tukaani.org> | Wed May 29 16:45:12 2013 +0300 |
committer | Lasse Collin <lasse.collin@tukaani.org> | Thu May 30 22:04:25 2013 +0300 |
tree | eb9e62ce4eb7b1327b18246a722de7bf8ea798f2 | |
parent | 23b4d2019c2be07362bf339f38461db7f69d77cc [diff] |
Split RangeDecoder into RangeDecoderFromBuffer and FromStream. To support LZMA1, support for reading from an InputStream is needed. LZMA1-specific features are in FromStream while LZMA2-specific features are in FromBuffer. Move the rc.isInBufferOK() from LZMADecoder to LZMA2InputStream since that is a LZMA2-specific thing.