class FixLengthPayloadParserBuilder extends VertxPayloadParserBuilder {
    @Override
    public PayloadParserType getType() {
        return PayloadParserType.FIXED_LENGTH;
    }

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


}

        int size = config.getInt("size")
                         .orElseThrow(() -> new IllegalArgumentException("size can not be null"));

        return () -> RecordParser.newFixed(size);
    
<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>