Docs · Engines

Bytefield

Compatible with bytefield-svg

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.

Templates
10
Source language
clojure
Workstation
Studio
Engine id
bytefield

In the same space

Most users come to Bytefield from Hand-drawn RFC packet diagrams or TikZ bytefield. Glyph runs this engine in the browser — no install, shareable via URL, exportable to PNG / SVG / PDF / source.

Syntax at a glance

(draw-column-headers)
(draw-box "Version" {:span 1})
(draw-box "Length" {:span 2})

Paste this in the Studio code pane to see Bytefield render live. The full grammar is at the upstream-docs link above.

Sample templates

All 10
Engine reference: bytefield · ← Browse all engines · Quick-start guide