bigeasy / packet

Incremental binary parsers and serializers for Node.js.
http://bigeasy.github.io/packet
MIT License
186 stars 25 forks source link

Switch definitions should group. #605

Open bigeasy opened 3 years ago

bigeasy commented 3 years ago

When we group switch definitions the body is repeated for each switch. We should have them grouped in the case statement. See MQTT for an example of the problem.