'Convert self into a regular ndarray of ints.
This is an O(1) operation. It does not copy the underlying data.'

def as_int_array(self):

    return self.view(type=ndarray, dtype=unsigned_int_dtype_with_size_in_bytes(self.itemsize))
