Skip to content

Commit 349cf91

Browse files
committed
ye
1 parent 2ea2357 commit 349cf91

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ if serverTime then print("server clock:", serverTime) end
159159
| `rateLimit` | `RateLimitConfig` | none | Server-side rate limiting on incoming fires. See [Rate Limiting](#rate-limiting). |
160160
| `validate` | `(data, player) → (bool, string?)` | none | Server-side callback after schema validation. Return `false, "reason"` to drop. Fires `onDrop`. |
161161
| `maxPayloadBytes` | `number` | none | Maximum bytes a single payload can consume. |
162-
| `timestamp` | `"frame" \| "offset" \| "full"` | none | Prepends a timestamp to each item. `"frame"` = u8 wrapping counter (1B). `"offset"` = u16 milliseconds into the current second (2B). `"full"` = f64 `os.clock()` (8B). Listeners receive it as a third argument after `sender`. |
162+
| `timestamp` | `"frame"`, `"offset"`, or `"full"` | none | Prepends a timestamp to each item. `"frame"` = u8 wrapping counter (1B). `"offset"` = u16 milliseconds into the current second (2B). `"full"` = f64 `os.clock()` (8B). Listeners receive it as a third argument after `sender`. |
163163

164164
### Packet Methods
165165

@@ -391,8 +391,8 @@ Variable-length unsigned integer encoding. 1-byte range covers 0–191 (LEB128 o
391391
| Range | Bytes | Encoding |
392392
|:------|------:|:---------|
393393
| 0–191 | 1 | Direct value |
394-
| 192–8,383 | 2 | `0xC0 | high5`, `low8` |
395-
| 8,384–1,056,959 | 3 | `0xE0 | high4`, `low16 LE` |
394+
| 192–8,383 | 2 | `0xC0 + high5`, `low8` |
395+
| 8,384–1,056,959 | 3 | `0xE0 + high4`, `low16 LE` |
396396
| 1,056,960–4,294,967,295 | 5 | `0xF0`, `u32 LE` |
397397

398398
### MSB Batch Framing

0 commit comments

Comments
 (0)