A function to write several digital outputs at once (C++ level)

If it had a body. But this is just a disembodied head. There are no comments, external documentation or tutorial commentary to make it useful to a beginner.