Only 8 bits are written, see line 89 below