finish representer protocol
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user