Skip to content
FutureBlitz

    Install

    Import std.compress.codec

    std.compress.codec

    What std.compress's formats share: Coder, which each one's Compressor and Decompressor is; the most bytes a UInt8[] holds, which is a Decompress's limit unless it's given a smaller one; and the IOErrors the runtime's results mean.

    std/compress/codec.fb

    Types

    Coder interface

    Public Interface Coder

    What each format's Compressor and Decompressor is: Add gives what the bytes it takes come to so far, and Finish what's left once they've all been added, which ends what it makes, and starts again. A CoderWriter and a CoderReader stream bytes through one.

    std/compress/codec.fb, line 10

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

      What data comes to so far, which can be nothing yet.

    • Method Finish(): UInt8[] Throws IOError method #

      What's left once all the bytes are added, which ends what it makes, and starts it again.

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