docs: fix frame format packet diagram — 16-bit word width for clean alignment

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-27 02:15:14 +00:00
parent fa9d8696fe
commit c9fa44e6e5

View File

@@ -29,10 +29,11 @@ flowchart TD
Every message on the wire is a frame: Every message on the wire is a frame:
```mermaid ```mermaid
%%{init: {'packet': {'bitsPerRow': 16}}}%%
packet-beta packet-beta
0-15: "message_type" 0-15: "message_type"
16-47: "payload_length" 16-47: "payload_length"
48-79: "payload …" 48-63: "payload …"
``` ```
Total header size: **6 bytes**. `payload_length` is the byte count of the payload only — it does not include the 6-byte header itself. Total header size: **6 bytes**. `payload_length` is the byte count of the payload only — it does not include the 6-byte header itself.