Fixed increment-16-and-test in streamWriteByte