Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
include module type of struct include Eio.Buf_read end
type !'a parser = t -> 'a
val parse :
?initial_size:int ->
max_size:int ->
'a parser ->
[> Eio__.Flow.source_ty ] Eio__.Flow.source ->
('a, [> `Msg of string ]) Stdlib.result
val parse_exn :
?initial_size:int ->
max_size:int ->
'a parser ->
[> Eio__.Flow.source_ty ] Eio__.Flow.source ->
'a
val parse_string :
'a parser ->
string ->
('a, [> `Msg of string ]) Stdlib.result
val parse_string_exn : 'a parser -> string -> 'a
val of_flow :
?initial_size:int ->
max_size:int ->
[> Eio__.Flow.source_ty ] Eio__.Flow.source ->
t
val of_buffer : Cstruct.buffer -> t
val of_string : string -> t
val as_flow : t -> Eio__.Flow.source_ty Eio__.Std.r
val line : string parser
val lines : string Stdlib.Seq.t parser
val char : char -> unit parser
val any_char : char parser
val peek_char : char option parser
val string : string -> unit parser
val uint8 : int parser
val take : int -> string parser
val take_all : string parser
val take_while : (char -> bool) -> string parser
val take_while1 : (char -> bool) -> string parser
val skip_while : (char -> bool) -> unit parser
val skip_while1 : (char -> bool) -> unit parser
val skip : int -> unit parser
val at_end_of_input : bool parser
val end_of_input : unit parser
val return : 'a -> 'a parser
val buffered_bytes : t -> int
val peek : t -> Cstruct.t
val ensure : t -> int -> unit
val consume : t -> int -> unit
val consumed_bytes : t -> int
val eof_seen : t -> bool
val count : int -> 'a Eio__Buf_read.parser -> 'a list parser
val list : 'a Eio__Buf_read.parser list -> 'a list parser
val int : int parser