hashcode-utils-kt / org.hildan.hashcode.utils.reader / HCReader / readInt

readInt

fun readInt(): Int

Reads the next token of the input as an int.

Exceptions

NoMoreLinesToReadException - if the last token of the line was consumed and there is no more lines to read

InputParsingException - if the input could not be parsed as an int