bool writeBlock(int blockidx, String data)
This function can be used when attempting to write data to a block. The data must be formatted as a JSON formatted string of bytes.
Parameters
Name | Description |
blockidx | The index of the block to write to. |
data | The data to write. |
Return
True if successful, false otherwise.