Return a const pointer to resource data to prevent external modifications