#include <aoi.h> int64_t (*Length)(void *ctx);
This function should return the length of the stream, if known.
The length of the stream (in bytes), or -1 if the length is unknown.