Skip to content
FutureBlitz

    Install

    Import std.compress.zip

    ZipReader

    std.compress.zip

    class

    Public Class ZipReader

    A zip's entries, which Read gives the bytes of, from a copy of the zip's bytes.

    std/compress/zip.fb, line 187

    • Public Property Entries: ReadOnlyArray<ArchiveEntry> property #

      Its entries, in the order the zip has them.

    • Public Property Count: Int property #

      How many entries it has.

    • Public Method Find(name: String): ArchiveEntry? method #

      The entry named name, the last of them when there are several, or Null when there's none.

    • Public Method Contains(name: String): Bool method #

      Whether it has an entry named name.

    • Public Method Read(name: String): UInt8[]? Throws IOError method #

      The bytes of the entry named name, the last of them when there are several, or Null when there's none, as ReadAt gives them.

    • @PanicsAtCaller Public Method ReadAt(index: Int): UInt8[] Throws IOError method #

      The bytes of the entry at index, which are none for a folder or a link, or an IOError when they're broken, encrypted, or compressed by a method that isn't supported. Panics when the index is out of range.

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