537c5e8
Branches > main > 537c5e8 > files / src / net
decode-packet! docstring
Commit: 537c5e8bdba9e586accadd9701d744cdc2a75f07
Parent: 28161d2
1 changed file:
src/net/bowmap/packet/server.clj view file
@@ -72,6 +72,7 @@ (defn decode-packet! "Decodes and returns one packet from ByteBuf 'buf', which should contain at least one readable packet. The initial length field of the packet should not be stripped from 'buf'.+ After calling, the buf will contain one less packet. Can throw if: 1. No such packet with the packet id and state exists 2. 'buf' is not properly framed, and does not contain a full packet