package conan
Module Conan.TySource
Source
type ('test, 'v) t = private | Default : (default, default) t| Offset : (int64, int64) t| Regex : {} -> (Re.t, Conan__.Ropes.t) t| Clear : (clear, clear) t| Search : {compact_whitespaces : bool;optional_blank : bool;lower_case_insensitive : bool;upper_case_insensitive : bool;text : bool;binary : bool;trim : bool;range : int64;pattern : string;find : Conan__.Kmp.finder;
} -> (string, string) t| Pascal_string : (string, string) t| Unicode_string : [ `BE | `LE ] -> (string, string) t| Byte : unsigned * char Arithmetic.t -> (char, char) t| Short : unsigned * int Arithmetic.t * [ `BE | `LE | `NE ] -> (int, int) t| Long : unsigned * int32 Arithmetic.t * endian -> (int32, int32) t| Quad : unsigned * int64 Arithmetic.t * endian -> (int64, int64) t| Float : unsigned * float Arithmetic.t * endian -> (float, float) t| Double : unsigned * float Arithmetic.t * endian -> (float, float) t| Indirect : [ `Rel | `Abs ] -> ('test, 'v) t| Date : [ `Local | `UTC | `Window ] * [ `s32 | `s64 ] * Ptime.span Arithmetic.t * endian -> (Ptime.t, string) t
Source
val numeric :
?unsigned:bool ->
?endian:endian ->
'w Integer.t ->
'w Arithmetic.t ->
('w, 'w) tSource
val date :
[ `Date | `Ldate | `Qdate | `Qldate | `Qwdate ] ->
[ `BE | `LE | `ME ] option ->
Ptime.Span.t Arithmetic.t ->
(Ptime.t, string) tSource
val 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