package rpmfile-eio

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include module type of struct include Eio.Buf_read end
type t = Eio__Buf_read.t
exception Buffer_limit_exceeded
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
module BE : sig ... end
module LE : sig ... end
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 seq : ?stop:bool parser -> 'a parser -> 'a Stdlib.Seq.t parser
val pair : 'a parser -> 'b parser -> ('a * 'b) parser
val return : 'a -> 'a parser
val map : ('a -> 'b) -> 'a parser -> 'b parser
val bind : 'a parser -> ('a -> 'b parser) -> 'b parser
val format_errors : 'a parser -> ('a, [> `Msg of string ]) Stdlib.result parser
module Syntax : sig ... end
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
OCaml

Innovation. Community. Security.