Source

dumbstreaming / dumbstreaming_it.mli

Full commit
open Ds_types
;

module Make (I : IT_TYPE)
 :
  sig
    value read :
      ~get_piece_it :
       ( ~totalsize:int64 ->
         ~totalcount:int ->
         ~piecesize:int ->
         ~piecenumber:int ->
         I.iteratee char 'i
       )
      -> ~combine_it : (I.iteratee 'i 'a)
      -> I.iteratee char (option 'a)
    ;


    (* for tests: *)
    value read_lengths : int -> I.iteratee char (list int)
    ;

  end
;