Use one byte instead of 8 for the direction.