class DelimitedPayloadParserBuilder extends VertxPayloadParserBuilder {
    @Override
    public PayloadParserType getType() {
        return PayloadParserType.DELIMITED;
    }

    @Override
    @SneakyThrows
    protected Supplier<RecordParser> createParser(ValueObject config) {<FILL_FUNCTION_BODY>}


}


        String delimited = config
            .getString("delimited")
            .map(String::trim)
            .orElseThrow(() -> new IllegalArgumentException("delimited can not be null"));

        if (delimited.startsWith("0x")) {

            byte[] hex = Hex.decodeHex(delimited.substring(2));
            return () -> RecordParser
                .newDelimited(Buffer.buffer(hex));
        }

        return () -> RecordParser.newDelimited(StringEscapeUtils.unescapeJava(delimited));
    
<methods>public non-sealed void <init>() ,public Supplier<org.jetlinks.community.network.tcp.parser.PayloadParser> buildLazy(org.jetlinks.community.ValueObject) ,public abstract org.jetlinks.community.network.tcp.parser.PayloadParserType getType() <variables>