19 lines
403 B
Markdown
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>.
|