docs: frame format packet diagram — 48-bit rows fit full header on one line

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

View File

@@ -29,11 +29,11 @@ flowchart TD
Every message on the wire is a frame:
```mermaid
%%{init: {'packet': {'bitsPerRow': 16}}}%%
%%{init: {'packet': {'bitsPerRow': 48}}}%%
packet-beta
0-15: "message_type"
16-47: "payload_length"
48-63: "payload …"
48-95: "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.