Esc

Archive_Source

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

Declaration

Archive_Source :: struct {
// passed back to read_at    data: *void;// total bytes available    size: s64;    read_at: (data: *void, offset: s64, buffer: [] u8) -> s64, string;}

A seekable byte source for read_archive. A read-at callback may return short reads. Its source must stay alive and unchanged.

See also