direct memory manipulation