module IOVec:sig..end
type 'buf t = private {
|
buf : |
(* |
Buffer holding the I/O-vector
| *) |
|
pos : |
(* |
Position of I/O-vector in buffer
| *) |
|
len : |
(* |
Length of I/O-vector in buffer
| *) |
type 'buf kind
typebigstring =(char, Bigarray.int8_unsigned_elt, Bigarray.c_layout) Bigarray.Array1.t
val string_kind : string kind
val bigstring_kind : bigstring kind
val empty : 'buf kind -> 'buf tempty the empty I/O-vector.val of_string : ?pos:int -> ?len:int -> string -> string tof_string ?pos ?len strInvalid_argument if designated substring out of bounds.pos and length len in string str.pos : default = 0len : default = String.length str - posval of_bigstring : ?pos:int ->
?len:int ->
bigstring -> bigstring tof_bigstring ?pos ?len bstrInvalid_argument if designated substring out of bounds.pos and length len in bigstring bstr.pos : default = 0len : default = String.length str - posval drop : 'buf t -> int -> 'buf tdrop iovec n drops n characters from iovec.Failure if n is greater than length of iovec.val max_iovecs : int
val t_of_sexp : (Sexplib.Sexp.t -> 'buf) -> Sexplib.Sexp.t -> 'buf t
val sexp_of_t : ('buf -> Sexplib.Sexp.t) -> 'buf t -> Sexplib.Sexp.tempty the empty I/O-vector.of_string ?pos ?len strof_bigstring ?pos ?len bstrdrop iovec n drops n characters from iovec.