--- tag: api type: function name: write params: - name: byte description: a byte to write to the publish payload type: uint8_t returns: type: int values: - value: int description: the number of bytes written --- Writes a byte as a component of a publish started with a call to beginPublish.