()
| 130 | } |
| 131 | |
| 132 | @Override |
| 133 | public void close() throws IOException { |
| 134 | if (closed) { |
| 135 | return; |
| 136 | } |
| 137 | closed = true; |
| 138 | decoder.destroy(); |
| 139 | source.close(); |
| 140 | } |
| 141 | |
| 142 | /** Decodes the given data buffer starting at offset till length. */ |
| 143 | public static byte[] decompress(byte[] data, int offset, int length) throws IOException { |