Up
module
Binable
:
sig
Module types and utilities for dealing with types that support the bin-io binary encoding.
#
type
bigstring = (char,
Bigarray
.
int8_unsigned_elt
,
Bigarray
.
c_layout
)
Bigarray
.
Array1
.
t
#
module type
S = Bin_prot.Binable.S
#
module type
S1 = Bin_prot.Binable.S1
#
module type
S2 = Bin_prot.Binable.S2
#
module
Of_stringable :
functor
(M : Stringable.S)
->
S
with
type
t :=
M
.t
#
type
'a m = (
module
S
with
type
t = 'a)
#
val
of_bigstring : 'a
m
->
bigstring
->
'a
#
val
to_bigstring : ?prefix_with_length:bool
->
'a
m
->
'a
->
bigstring
#
val
of_string : 'a
m
->
string
->
'a
#
val
to_string : 'a
m
->
'a
->
string
end