ud-format 0.1.3

Binary container formats for univdreams — ELF, PE/COFF, Mach-O, and raw flat images. Parse + byte-identical write, one module per format.
Documentation

Binary container formats — parse + byte-identical write.

One module per format, each a self-contained reader/writer with the same shape: parse(bytes) produces a structured view, write_to_vec() reproduces the input byte-for-byte (the round-trip invariant the whole univdreams pipeline rests on).

  • [elf] — ELF32 / ELF64 (Elf64File).
  • [pe] — PE / COFF, PE32 and PE32+ (PeFile).
  • [macho] — thin 64-bit Mach-O (MachoFile).
  • [raw] — headerless flat images, e.g. 6502 ROMs (RawImage).

These were four separate crates (ud-format-elf, -pe, -macho, -raw); they were merged because they share one role — "parse and rewrite a binary container" — and four single-file crates was more granularity than the project's scope warranted.