mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-10 02:20:14 +08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
b6c1553615
@ -2,14 +2,14 @@
|
|||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
Note: `head` and `body` functions does nothing. They just work as
|
Note: `head` and `body` functions do nothing. They just work as
|
||||||
notations
|
notations
|
||||||
|
|
||||||
PseudoCode:
|
PseudoCode:
|
||||||
```
|
```
|
||||||
OutgoingPacket {
|
OutgoingPacket {
|
||||||
|
int head.size + body.size + 4
|
||||||
head {
|
head {
|
||||||
int remaining.length + 4
|
|
||||||
int 0x0A
|
int 0x0A
|
||||||
byte 0x02
|
byte 0x02
|
||||||
int extra data size + 4
|
int extra data size + 4
|
||||||
|
Loading…
Reference in New Issue
Block a user