Esc

Archive

structextensionsince 0.36.1Source
  • macOS: Archive works on macOS
  • Linux: Archive works on Linux
  • Windows: Archive works on Windows
  • Wasm: Archive works on Wasm

Declaration

Archive :: struct {
    entries: [..] Archive_Entry;    limits: Archive_Limits;// Internal; do not change these fields or entries while using the archive.    bytes: [] u8;    source: Archive_Source;    owned: [] u8;    format: Archive_Format;    metadata: s64;    total: s64;}

An open archive: the entry index plus what is needed to read payloads. Release it with free_archive.

See also