move bytes to primitive package