Updated: October 28, 2024 |
#include <aoi.h> int64_t (*Read)(void *ctx, void *buf, int64_t num);
This function should read num bytes from the stream at the stream's current file position.
The number of bytes successfully read from the stream, or -1 if an error occurred.