Length()

Updated: April 19, 2023

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.