| author | wenzelm |
| Wed, 18 Dec 2019 15:10:13 +0100 | |
| changeset 71305 | 2f7da37bab52 |
| parent 68018 | 3747fe57eb67 |
| child 71961 | af779738a8f9 |
| permissions | -rw-r--r-- |
/* Title: Pure/General/xz.scala Author: Makarius Support for XZ data compression. */ package isabelle import org.tukaani.xz.{LZMA2Options, ArrayCache, BasicArrayCache} object XZ { /* options */ type Options = LZMA2Options def options(preset: Int = 3): Options = { val opts = new LZMA2Options opts.setPreset(preset) opts } /* cache */ type Cache = ArrayCache def cache(): ArrayCache = ArrayCache.getDefaultCache() def make_cache(): ArrayCache = new BasicArrayCache }