class FIXMessageDecoder implements MessageDecoder {

    @Override
    public MessageDecoderResult decodable(IoSession session, IoBuffer in) {
        boolean hasHeader = HEADER_PATTERN.find(in, in.position()) != -1L;
        return hasHeader ? MessageDecoderResult.OK :
            (in.remaining() > MAX_UNDECODED_DATA_LENGTH ? MessageDecoderResult.NOT_OK : MessageDecoderResult.NEED_DATA);
    }

    public  FIXMessageDecoder();
    public  FIXMessageDecoder(String charset);
    public  FIXMessageDecoder(String charset, String delimiter);

}