string ReadFileData(string filePath, int64 startPosition, int byteLength, bool base64Return)
Reads bytes from a file.
Security
Trust Level Required: Full Trust
Parameters
Name | Description |
filePath | The path to the file to read. |
startPosition | The position in the file to start reading from. |
byteLength | The size of each byte to read. |
base64Return | True to return the data as base-64 encoded. |
Return
A JSON string where Bool indicates if the function succeeded and Str is a list of bytes, a base-64 encoded string, or an error message on failure.