module Hydro_unmarshal:Hydro unmarshallingsig..end
val decapsulate : Hydro_types.encap_buffer -> Hydro_types.encap_bufferdecapsulate (nb,pos,len): Interprets the len bytes at pos
in nb as encapsulation, and returns its contents also in the
format (nb',pos',len'). nb=nb' is allowed.val unmarshal : Hydro_types.system ->
Hydro_types.htype -> bool -> Hydro_types.encap_buffer -> Hydro_types.valueunmarshal sys ht class_flag eb: Decodes the value at pos with
length len in nb which is supposed to be of type ht and returns
it.
The class_flag must be true if ht contains classes.
Logically, a whole encapsulation body is decoded (incl. the appendix
for class values).
val unmarshal_exn : Hydro_types.system -> Hydro_types.encap_buffer -> Hydro_types.sliced_valueunmarshal_exn sys (nb,pos,len) : Decodes the exception value
at pos with length len in nb and returns it. The exception
can be any exception listed in sys.
Logically, a whole encapsulation body is decoded (incl. the appendix
for class values).
val unmarshal_msg : Hydro_types.system ->
Hydro_types.msg_header -> Hydro_types.encap_buffer -> Hydro_types.msgval read_bool : string -> int -> boolval read_byte : string -> int -> intval read_short : string -> int -> intval read_int : string -> int -> intval read_int32 : string -> int -> int32val read_int64 : string -> int -> int64val read_float : string -> int -> floatval read_double : string -> int -> floatval unmarshal_bool : string -> int Pervasives.ref -> int -> boolval unmarshal_byte : string -> int Pervasives.ref -> int -> intval unmarshal_short : string -> int Pervasives.ref -> int -> intval unmarshal_int : string -> int Pervasives.ref -> int -> intval unmarshal_int32 : string -> int Pervasives.ref -> int -> int32val unmarshal_int64 : string -> int Pervasives.ref -> int -> int64val unmarshal_float : string -> int Pervasives.ref -> int -> floatval unmarshal_double : string -> int Pervasives.ref -> int -> floatval unmarshal_string : string -> int Pervasives.ref -> int -> stringval unmarshal_sequence : (string -> int Pervasives.ref -> int -> 'a) ->
string -> int Pervasives.ref -> int -> 'a arrayval unmarshal_dictionary : (string -> int Pervasives.ref -> int -> 'a) ->
(string -> int Pervasives.ref -> int -> 'b) ->
string -> int Pervasives.ref -> int -> ('a * 'b) arrayval unmarshal_enum : int -> string -> int Pervasives.ref -> int -> int