pubsubclient/_posts/2000-03-05-write2.md
2020-05-21 01:17:42 +01:00

19 lines
403 B
Markdown

---
tag: api
type: function
name: write
params:
- name: payload
description: the bytes to write
type: byte[]
- name: length
description: the length of the payload to be sent
type: unsigned int
returns:
type: int
values:
- value: int
description: the number of bytes written
---
Writes an array of bytes as a component of a publish started with a call to <code>beginPublish</code>.