Module Bigbuffer_blocking
Extends Core_kernel.Bigbuffer
.
val add_channel : Core_kernel.Bigbuffer.t -> Core.In_channel.t -> int -> unit
add_channel b ic n
reads exactlyn
characters from the input channelic
and stores them at the end of bufferb
. RaisesEnd_of_file
if the channel contains fewer thann
characters.
val output_buffer : Core.Out_channel.t -> Core_kernel.Bigbuffer.t -> unit
output_buffer oc b
writes the current contents of bufferb
on the output channeloc
.
val md5 : Core_kernel.Bigbuffer.t -> Core.Md5.t
Digest the current contents of the buffer.