diff --git a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/README.md b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/README.md index cac694de7..7129b3ed3 100644 --- a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/README.md +++ b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/README.md @@ -2,14 +2,14 @@ ## Overview -Note: `head` and `body` functions does nothing. They just work as +Note: `head` and `body` functions do nothing. They just work as notations PseudoCode: ``` OutgoingPacket { + int head.size + body.size + 4 head { - int remaining.length + 4 int 0x0A byte 0x02 int extra data size + 4