move bytes typedef to a more common header