Skip to content
FutureBlitz

    Install

    Import std.compress.xz

    XZCompressor

    std.compress.xz

    class

    Public Class XZCompressor Implements Coder

    XZ's bytes made in turn: Add gives what compressing the bytes it takes has made so far, and Finish what's left, which ends a stream, and starts again.

    std/compress/xz.fb, line 83

    • @PanicsAtCaller Public New(level: Int = 6) constructor #

      A new XZCompressor at the level. Panics when it isn't from 0 to 9.

    • Public Method Add(data: UInt8[]): UInt8[] method #

      Compresses data, and gives the XZ bytes it has made so far, which can be none, as it holds some back to compress with what comes next.

    • Public Method Finish(): UInt8[] method #

      The rest of the bytes, which end the stream, and starts again, for another.

    Report an issue with this page or with FutureBlitz on GitHub.