sig
class type mstring =
object
method as_memory : Netsys_mem.memory * int
method as_string : string * int
method blit_to_memory : int -> Netsys_mem.memory -> int -> int -> unit
method blit_to_string : int -> string -> int -> int -> unit
method length : int
method preferred : [ `Memory | `String ]
end
class type mstring_factory =
object
method create_from_memory :
Netsys_mem.memory -> int -> int -> bool -> Netxdr_mstring.mstring
method create_from_string :
string -> int -> int -> bool -> Netxdr_mstring.mstring
end
val string_based_mstrings : Netxdr_mstring.mstring_factory
val string_to_mstring :
?pos:int -> ?len:int -> string -> Netxdr_mstring.mstring
val memory_based_mstrings : Netxdr_mstring.mstring_factory
val memory_to_mstring :
?pos:int -> ?len:int -> Netsys_mem.memory -> Netxdr_mstring.mstring
val paligned_memory_based_mstrings : Netxdr_mstring.mstring_factory
val memory_pool_based_mstrings :
Netsys_mem.memory_pool -> Netxdr_mstring.mstring_factory
val length_mstrings : Netxdr_mstring.mstring list -> int
val concat_mstrings : Netxdr_mstring.mstring list -> string
val prefix_mstrings : Netxdr_mstring.mstring list -> int -> string
val blit_mstrings_to_memory :
Netxdr_mstring.mstring list -> Netsys_mem.memory -> unit
val shared_sub_mstring :
Netxdr_mstring.mstring -> int -> int -> Netxdr_mstring.mstring
val shared_sub_mstrings :
Netxdr_mstring.mstring list -> int -> int -> Netxdr_mstring.mstring list
val copy_mstring : Netxdr_mstring.mstring -> Netxdr_mstring.mstring
val copy_mstrings :
Netxdr_mstring.mstring list -> Netxdr_mstring.mstring list
val in_channel_of_mstrings :
Netxdr_mstring.mstring list -> Netchannels.in_obj_channel
val mstrings_of_in_channel :
Netchannels.in_obj_channel -> Netxdr_mstring.mstring list
type named_mstring_factories =
(string, Netxdr_mstring.mstring_factory) Hashtbl.t
end