'Reads a record of a given type from the file, defaulting to an integer
type (``INTEGER*4`` in Fortran).
Parameters
dtype : dtype, optional
Data type specifying the size and endiness of the data.
Returns
data : ndarray
A one-dimensional array object.
See Also
read_reals
read_record'

def read_ints(self, dtype='i4'):

    return self.read_record(dtype=dtype)
