package metadata
Module AVI.RSource
Source
type t = {read : bytes -> int -> int -> int;seek : int -> unit;size : unit -> int option;reset : unit -> unit;
}A function to read taking the buffer to fill the offset and the length and returning the number of bytes actually read.
Make a reading function retry until buffer is filled (or an error occurs).