public static <T> T readSimpleField(String logicalName, DataReader<T> dataReader, WithReaderArgs... readerArgs) throws ParseException {
        return new FieldReaderSimple<T>().readSimpleField(logicalName, dataReader, readerArgs);
    }
In some protocols a long is used as length, but we simply can't address that many bytes,
so we simply cast it down to int as on java we couldn't even read more bytes as MAX-INT.

@param logicalName the logical name of this field
@param dataReader  the dataReader used to retrieve this field
@param length      the length of the array
@param readerArgs  optional read args
@param <T>         the type of the array elements
@return the read length array
@throws ParseException if something went wrong parsing
plc4j/spi/src/main/java/org/apache/plc4x/java/spi/codegen/fields/FieldReaderFactory.java