Length()

Updated: October 26, 2022

Synopsis:

#include <aoi.h>

int64_t (*Length)(void *ctx);

Arguments:

ctx
The context for the stream you're querying.

Description:

This function should return the length of the stream, if known.

Returns:

The length of the stream (in bytes), or -1 if the length is unknown.