Read and parse signed and unsigned integers.