Why not just use grandpa's way:

byte = 255- byte

Inverts the bits.