1cimport numpy as np 2from libc.stdio cimport FILE 3 4ctypedef np.int32_t INT32_t 5ctypedef np.int64_t INT64_t 6ctypedef np.float64_t DOUBLE_t 7 8cdef class FortranFile: 9 cdef FILE* cfile 10 cdef bint _closed 11 12 cpdef INT64_t skip(self, INT64_t n=*) except -1 13 cdef INT64_t get_size(self, str dtype) 14 cpdef INT32_t read_int(self) except? -1 15 cpdef np.ndarray read_vector(self, str dtype) 16 cpdef INT64_t tell(self) except -1 17 cpdef INT64_t seek(self, INT64_t pos, INT64_t whence=*) except -1 18 cpdef void close(self) 19