1
0

finish representer protocol

This commit is contained in:
2026-01-10 17:10:14 +08:00
parent 1abafeb0ca
commit 2a52c8ed7d
7 changed files with 75 additions and 27 deletions

View File

@@ -12,7 +12,7 @@ I will introduce them in there about how to transmit them.
### String
When transmitting string, it will transmit an `usize` at first to indicate the length of string in **character**, NOT in **byte**.
When transmitting string, it will transmit an `u32` at first to indicate the length of string in **character**, NOT in **byte**.
Then we transmit the string itself without NULL terminator.
All transmitted string is UTF-8.