title: How to add multiple netty decoders and conditionally skip other if the first decoder/encoder pair serves the purpose
body: <p>I want to handle message of type "xx bytecount sid newline payload" and "xx 000 sid newline". I was using string encoder and decoder. Unfortunately that will not match the first one. I know that I can write a custom decoder and create a dynamic buffer and keep on injecting data until I meet the byte count for the payload. But how do I skip the string encoder and decoder if my custom encoder is hit successfully.</p>
  
  <p>One more question . How do I read the rest of the count number of bytes in custom decoder . Suppose I am able to read the count how do I set it as a state variable to read further data</p>