537c5e8

Branches > refactor/use-spec-1 > 537c5e8 > files / src / dev / grahp

decode-packet! docstring

Grahp, 2026-02-28

Commit: 537c5e8bdba9e586accadd9701d744cdc2a75f07
Parent: 28161d2

1 changed file:

src/net/bowmap/packet/server.clj modified (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