Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit 0c09095

Browse files
authored
Update README.md
1 parent ba04703 commit 0c09095

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

README.md

+16-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@
1717
| 标识 | 长度(位) | 说明 |
1818
|----|----|----|
1919
| 魔术字 | 16 | 0x1234 |
20-
| 类型 | 4 | |
21-
| 包长 | 20 | 0- 1MB |
20+
| 包类型 | 4 | 1-15 |
21+
| 包含数据 | 1 | 0-1 |
22+
| 数据格式 | 3 | 0-7 |
23+
| [数据长度] | 20 | 0- 1MB |
2224

2325

2426
### 包类型
@@ -41,6 +43,18 @@
4143
| | 14 | |
4244
| DISCONNECT | 15 | 断开连接 |
4345

46+
### 数据格式
47+
48+
| 类型 | id | 说明 |
49+
|----|----|----|
50+
| Binary | 0 | 未定义 |
51+
| JSON | 1 | |
52+
| YAML | 2 | |
53+
| XML | 3 | |
54+
| CSV | 4 | |
55+
| Protobuf | 5 | |
56+
| MessagePack | 6 | |
57+
| Reserved | 7 | 保留 |
4458

4559
## 交互说明
4660

0 commit comments

Comments
 (0)