Read an app file
file_readRead a file an app stored as byte windows by offset and length, then reassemble decoded data and verify the whole file with sha256.
Instructions
Read one file an app has stored, as a WINDOW of its bytes: offset/length select it, data_base64 carries exactly that window, next_offset continues (same window grammar as get_app, and for the same reason). Reassemble by concatenating decoded windows; sha256 is the WHOLE file's hash, so reassembly is checkable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| path | Yes | the file's logical name | |
| length | No | max bytes for this window (default fits the result budget) | |
| offset | No | byte offset to read from (default 0) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| eot | No | ||
| mime | Yes | ||
| path | Yes | ||
| size | Yes | ||
| total | No | ||
| offset | No | ||
| sha256 | Yes | ||
| version | Yes | ||
| returned | No | ||
| data_base64 | No | ||
| next_offset | No |