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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user