avio_read_partial

Read size bytes from AVIOContext into buf. Unlike avio_read(), this is allowed to read fewer bytes than requested. The missing bytes can be read in the next call. This always tries to read at least 1 byte. Useful to reduce latency in certain cases. @return number of bytes read or AVERROR

extern (C) @nogc nothrow
int
avio_read_partial
(,
ubyte* buf
,
int size
)

Meta