Expand description
Bounded extraction of KiCad’s zstd-compressed schematic sidecars.
Structs§
Functions§
- decode_
schematic_ embedded_ file - Decode one listed schematic embedded file, checking its source checksum.
Nonemeans the entry authors no(data ...)form; KiCad 9.0.0’s empty(data)form decodes to zero bytes. - schematic_
embedded_ file - Read one exact, unambiguous schematic resource, checking its source checksum. Other payloads are never decoded, so an unrelated broken font or image does not prevent the selected worksheet from loading. The returned bytes remain in memory.
- schematic_
embedded_ file_ entries - List the schematic’s embedded files in source order from their declarations
alone, as the PCB view lists its own. Each entry states whether its data is
absent, empty or encoded; no payload is decoded, so a data-less or broken
file does not hide the others. An entry whose declaration cannot be read is
its own error. Decode a listed file with
decode_schematic_embedded_file. - schematic_
embedded_ files - Decode every embedded file of the schematic. Any entry that cannot be
decoded, including one with no or empty data, fails the whole call; list
with
schematic_embedded_file_entriesto read each file on its own.