We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be7a4d3 commit e80ce2eCopy full SHA for e80ce2e
src/not-so-smart/decoder.mli
@@ -3,8 +3,8 @@
3
4
We define a "packet line" (aka a "packet") as
5
6
- | 4 bytes || (pkt-len)-4 |
7
- [ enc-pkt-len ][ pkt-content ]
+ | 4 bytes || (enc-pkt-len)-4 |
+ [ enc-pkt-len ][ pkt-content ]
8
|------- pkt-len ------|
9
10
Example: "0009done\n" where [enc-pkt-len = 4] and [pkt-content = "done"] given we
0 commit comments