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 -> Xdr_mstring.mstring
method create_from_string :
string -> int -> int -> bool -> Xdr_mstring.mstring
end
val string_based_mstrings : Xdr_mstring.mstring_factory
val memory_based_mstrings : Xdr_mstring.mstring_factory
val paligned_memory_based_mstrings : Xdr_mstring.mstring_factory
val memory_pool_based_mstrings :
Netsys_mem.memory_pool -> Xdr_mstring.mstring_factory
val length_mstrings : Xdr_mstring.mstring list -> int
val concat_mstrings : Xdr_mstring.mstring list -> string
val prefix_mstrings : Xdr_mstring.mstring list -> int -> string
val blit_mstrings_to_memory :
Xdr_mstring.mstring list -> Netsys_mem.memory -> unit
type named_mstring_factories =
(string, Xdr_mstring.mstring_factory) Hashtbl.t
end