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

Nice opt, too. Considering HIGH and LOW as 1 and 0. Thanks