NextDecoder should be called by a decoder when they're done decoding a packet layer but not done with decoding the entire packet. The next decoder will be called to decode the last AddLayer's LayerPayload. Because of this, NextDecoder must only be called once all other PacketBuilder calls have been
(next Decoder)
| 58 | // PacketBuilder calls have been made. Set*Layer and AddLayer calls after |
| 59 | // NextDecoder calls will behave incorrectly. |
| 60 | NextDecoder(next Decoder) error |
| 61 | // DumpPacketData is used solely for decoding. If you come across an error |
| 62 | // you need to diagnose while processing a packet, call this and your packet's |
| 63 | // data will be dumped to stderr so you can create a test. This should never |
no outgoing calls
no test coverage detected