Skip to content
FutureBlitz

    Install

    Import std.compress.tar

    TarReader

    std.compress.tar

    class

    Public Class TarReader

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

    std/compress/tar.fb, line 171

    • Public Property Entries: ReadOnlyArray<ArchiveEntry> property #

      Its entries, in the order the tar 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, or are a GNU sparse file's, which isn't supported. Panics when the index is out of range.

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