Protocol 4 has number four in its header

This commit is contained in:
Antoine Pitrou 2013-04-26 23:10:52 +02:00
parent 643a33de69
commit 1258ea5228
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ Protocol 4, by contrast, features binary framing. The general structure
of a pickle is thus the following::
+------+------+
| 0x80 | 0x03 | protocol header (2 bytes)
| 0x80 | 0x04 | protocol header (2 bytes)
+------+------+-----------+
| AA BB CC DD EE FF GG HH | frame size (8 bytes, little-endian)
+------+------------------+