Mask serial input data