mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
* If we don't encode the `size`, it is lost during an encoding-decoding round-trip * If we don't check capacity, we might reallocate needlessly instead of just growing the slice Signed-off-by: Derek Collison <derek@nats.io>