10 templates
Bytefield templates
Byte-field / packet-layout diagrams. Designed for binary protocol specifications, file-format documentation, network packet structure, register maps. Tiny Clojure-flavoured DSL — `(draw-column-headers)`, `(draw-box "flags" [{:span 4}])` — renders the kind of figure you see in RFCs.
Hello Bytefield
Minimal starter — header / payload / gap. The canonical introduction to bytefield-svg's DSL.
ArchitectureTCP segment header
Classic TCP header layout — 32-bit columns, source/dest ports, sequence and ack numbers, flags strip and window size.
ArchitectureIPv4 header
RFC 791 — Version / IHL / DSCP, length, identification, flags + offset, TTL, protocol, checksum, addresses.
ArchitectureELF identification block
First 16 bytes of every ELF binary — the magic number, class, endianness, version, OS / ABI bytes that the linker reads first.
ArchitectureFilesystem superblock
Stylised on-disk superblock layout — magic, block size, inode counts, generation, journal pointer.
ArchitectureBytefield — IPv4 header (byte layout)
IPv4 header expressed as 32-bit rows.
Data & SchemaBytefield — Bluetooth advertising PDU
BLE advertising PDU structure.
Data & SchemaBytefield — ELF header (start)
First bytes of an ELF binary header.
Data & SchemaBytefield — COSE_Sign1 layout
Compact COSE_Sign1 message envelope.
Data & SchemaBytefield — QUIC short header
Compact QUIC 1-RTT packet header.
Data & Schema