package conan

  1. Overview
  2. Docs
type default =
  1. | Default
type clear =
  1. | Clear
type unsigned = {
  1. unsigned : bool;
}
type endian = [
  1. | `BE
  2. | `LE
  3. | `ME
  4. | `NE
]
type ('test, 'v) t = private
  1. | Default : (default, default) t
  2. | Offset : (int64, int64) t
  3. | Regex : {
    1. case_insensitive : bool;
    2. start : bool;
    3. limit : int64;
    4. kind : [ `Byte | `Line ];
    } -> (Re.t, Conan__.Ropes.t) t
  4. | Clear : (clear, clear) t
  5. | Pascal_string : (string, string) t
  6. | Unicode_string : [ `BE | `LE ] -> (string, string) t
  7. | Byte : unsigned * char Arithmetic.t -> (char, char) t
  8. | Short : unsigned * int Arithmetic.t * [ `BE | `LE | `NE ] -> (int, int) t
  9. | Long : unsigned * int32 Arithmetic.t * endian -> (int32, int32) t
  10. | Quad : unsigned * int64 Arithmetic.t * endian -> (int64, int64) t
  11. | Float : unsigned * float Arithmetic.t * endian -> (float, float) t
  12. | Double : unsigned * float Arithmetic.t * endian -> (float, float) t
  13. | Indirect : [ `Rel | `Abs ] -> ('test, 'v) t
  14. | Date : [ `Local | `UTC | `Window ] * [ `s32 | `s64 ] * Ptime.span Arithmetic.t * endian -> (Ptime.t, string) t
val serialize : Stdlib.Format.formatter -> ('test, 'v) t -> unit
val pp : Stdlib.Format.formatter -> ('test, 'v) t -> unit
val pp_of_result : ('test, 'v) t -> Stdlib.Format.formatter -> 'v -> unit
val default : (default, default) t
val offset : (int64, int64) t
val clear : (clear, clear) t
val regex : ?case_insensitive:bool -> ?start:bool -> ?limit:int64 -> [ `Line | `Byte ] -> (Re.t, Conan__.Ropes.t) t
val pascal_string : (string, string) t
val with_range : int64 -> (string, string) t -> (string, string) t
val with_pattern : string -> (string, string) t -> (string, string) t
val str_unicode : [ `BE | `LE ] -> (string, string) t
val numeric : ?unsigned:bool -> ?endian:endian -> 'w Integer.t -> 'w Arithmetic.t -> ('w, 'w) t
val date : [ `Date | `Ldate | `Qdate | `Qldate | `Qwdate ] -> [ `BE | `LE | `ME ] option -> Ptime.Span.t Arithmetic.t -> (Ptime.t, string) t
val float : ?unsigned:bool -> ?endian:endian -> float Arithmetic.t -> (float, float) t
val double : ?unsigned:bool -> ?endian:endian -> float Arithmetic.t -> (float, float) t
val indirect : [ `Rel | `Abs ] -> (_, _) t
val process : 's Sigs.scheduler -> ('fd, 'error, 's) Sigs.syscall -> 'fd -> int64 -> ('test, 'v) t -> (('v, [> `Syscall of 'error | `Invalid_date | `Not_found ]) Stdlib.result, 's) Sigs.io
OCaml

Innovation. Community. Security.