string readBlock(int blockidx, int datalen)
This function can be used when reading data from a block.
Parameters
Name | Description |
blockidx | The index of the block to read from. |
datalen | The length of the data to read. |
Return
A JSON formatted string containing an array of bytes.