Load data directly from memory.