I don't think there is an AsInt, only AsLong
offset seems to be an offset into the data, so be should probably use AsLongLong and put it into a npy_intp for very large data?