sig
type memory =
(char, Bigarray.int8_unsigned_elt, Bigarray.c_layout) Bigarray.Array1.t
type tbuffer =
[ `Bytes of Bytes.t
| `Memory of Netsys_types.memory
| `String of Bytes.t ]
type tstring =
[ `Bytes of Bytes.t
| `Memory of Netsys_types.memory
| `String of string ]
class type mstring =
object
method as_bytes : Bytes.t * int
method as_memory : Netsys_types.memory * int
method as_string : string * int
method blit_to_bytes : int -> Bytes.t -> int -> int -> unit
method blit_to_memory :
int -> Netsys_types.memory -> int -> int -> unit
method blit_to_string : int -> Bytes.t -> int -> int -> unit
method length : int
method preferred : [ `Bytes | `Memory ]
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