#include <aoi.h> int64_t (*Sniff)(void *ctx, void *buf, int64_t num);
This function should nondestructively read num bytes from the beginning of a stream. All streamers should implement this function. Once stream data is read with Read(), you can no longer use Sniff().
The number of bytes successfully sniffed from the stream.