package encore

  1. Overview
  2. Docs

Module Encore.EncoderSource

Sourcetype vec = {
  1. off : int option;
  2. len : int option;
}
Sourcetype 'a state = 'a Lole.state
Sourcetype encoder = Lole.encoder
Sourcetype bigstring = Lole.bigstring
Sourcetype iovecs = Lole.IOVec.t list
Sourcetype -'a t
Sourcetype -'a s
Sourceval peek : 'a t -> 'b t -> ('a, 'b) Either.t t
Sourceval char : char t
Sourceval int8 : int t
Sourceval beint16 : int t
Sourceval beint32 : int32 t
Sourceval beint64 : int64 t
Sourceval leint16 : int t
Sourceval leint32 : int32 t
Sourceval leint64 : int64 t
Sourceval bool : bool t
Sourceval substring : string s
Sourceval subbytes : bytes s
Sourceval subbigstring : bigstring s
Sourceval blitter : ('a -> int) -> ('a -> int -> bigstring -> int -> int -> unit) -> 'a s
Sourceval whole : 'a s -> 'a t
Sourceval sub : 'a s -> (vec * 'a) t
Sourceval string : string t
Sourceval bytes : bytes t
Sourceval bigstring : bigstring t
Sourceval list : ?sep:unit t -> 'a t -> 'a list t
Sourceval nop : 'a t
Sourceval option : 'a t -> 'a option t
Sourceexception Fail of string
Sourceval pure : compare:('a -> 'a -> int) -> 'a -> 'a t
Sourceval fail : string -> 'a t
Sourceval const : string -> string t
Sourceval (<|>) : 'a t -> 'a t -> 'a t
Sourceval (<$>) : ('a -> 'b) -> 'b t -> 'a t
Sourceval (<*>) : 'a t -> 'b t -> ('a * 'b) t
Sourceval prefix : unit t -> 'a t -> 'a t
Sourceval suffix : unit t -> 'a t -> 'a t
Sourceval while0 : (char -> bool) -> string t
Sourceval while1 : (char -> bool) -> string t
Sourceval bigstring_while0 : (char -> bool) -> bigstring t
Sourceval bigstring_while1 : (char -> bool) -> bigstring t
Sourceval take : int -> string t
Sourceval buffer : string t
Sourceval bigstring_buffer : bigstring t
Sourceval (*>) : unit t -> 'a t -> 'a t
Sourceval (<*) : 'a t -> unit t -> 'a t
Sourceval fix : ('a t -> 'a t) -> 'a t
Sourceval commit : unit t
Sourcemodule Make (S : sig ... end) : sig ... end
Sourceval keval : (encoder -> 'r state) -> (iovecs -> int) -> encoder -> 'v t -> 'v -> 'r
Sourceval eval : (iovecs -> int) -> encoder -> 'v t -> 'v -> unit
Sourceval run : 'a t -> (encoder -> 'r state) -> encoder -> 'a -> 'r state
Sourceval to_string : 'v t -> 'v -> string
OCaml

Innovation. Community. Security.