class type t =The basic reader interface.object
..end
method peek_char : (Utf8_char.t -> unit) -> unit
method read_char : (Utf8_char.t -> unit) -> unit
method read_while : (Utf8_char.t -> bool) -> (string -> unit) -> unit
this is just a performance optimization, and could in principle be implemented on top of peek_char
and read_char
.