package conan

  1. Overview
  2. Docs

Module Conan.TySource

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

Innovation. Community. Security.