Library for machine-independent, array-oriented data access