`sig
type memory =
(char, Bigarray.int8_unsigned_elt, Bigarray.c_layout) Bigarray.Array1.t
class type mstring =
object
method as_memory : Netsys_types.memory * int
method as_string : string * int
method blit_to_memory :
int -> Netsys_types.memory -> int -> int -> unit
method blit_to_string : int -> string -> int -> int -> unit
method length : int
method preferred : [ `Memory | `String ]
end
exception EAGAIN_RD
exception EAGAIN_WR
exception TLS_switch_request
exception TLS_switch_response of bool
exception TLS_error of string
exception TLS_warning of string
end`