package ocamlnet

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
val create : int -> t
val contents : t -> string
val to_bytes : t -> Bytes.t
val to_tstring_poly : t -> 's Netstring_tstring.tstring_kind -> 's
val length : t -> int
val get : t -> int -> char
val nth : t -> int -> char
val sub : t -> int -> int -> string
val sub_bytes : t -> int -> int -> Bytes.t
val blit_to_bytes : t -> int -> Bytes.t -> int -> int -> unit
val blit_to_string : t -> int -> Bytes.t -> int -> int -> unit
  • deprecated Use blit_to_bytes instead.
val blit : t -> int -> Bytes.t -> int -> int -> unit
val blit_to_memory : t -> int -> Netsys_mem.memory -> int -> int -> unit
val blit_to_tbuffer : t -> int -> Netsys_types.tbuffer -> int -> int -> unit
val add_string : t -> string -> unit
val add_bytes : t -> Bytes.t -> unit
val add_tstring : t -> Netsys_types.tstring -> unit
val add_tstring_poly : t -> 's Netstring_tstring.tstring_ops -> 's -> unit
val add_substring : t -> string -> int -> int -> unit
val add_subbytes : t -> Bytes.t -> int -> int -> unit
val add_subtstring : t -> Netsys_types.tstring -> int -> int -> unit
val add_sub_string : t -> string -> int -> int -> unit
  • deprecated Use add_substring instead.
val add_submemory : t -> Netsys_mem.memory -> int -> int -> unit
val add_sub_memory : t -> Netsys_mem.memory -> int -> int -> unit
  • deprecated Use add_submemory instead.
val add_subtstring_poly : t -> 's Netstring_tstring.tstring_ops -> 's -> int -> int -> unit
val add_char : t -> char -> unit
val add_char_2 : t -> char -> char -> unit
val add_char_4 : t -> char -> char -> char -> char -> unit
val add_inplace : ?len:int -> t -> (Bytes.t -> int -> int -> int) -> int
val add_buffer : t -> t -> unit
val area_for_additions : ?len:int -> t -> Bytes.t * int * int
val advance : t -> int -> unit
val insert_string : t -> int -> string -> unit
val insert_substring : t -> int -> string -> int -> int -> unit
val insert_sub_string : t -> int -> string -> int -> int -> unit
  • deprecated Use insert_substring instead.
val insert_subbytes : t -> int -> Bytes.t -> int -> int -> unit
val insert_subtstring : t -> int -> Netsys_types.tstring -> int -> int -> unit
val insert_submemory : t -> int -> Netsys_types.memory -> int -> int -> unit
val insert_char : t -> int -> char -> unit
val set : t -> int -> char -> unit
val put_string : t -> int -> string -> unit
val blit_from_string : string -> int -> t -> int -> int -> unit
val blit_from_bytes : Bytes.t -> int -> t -> int -> int -> unit
val blit_from_memory : Netsys_types.memory -> int -> t -> int -> int -> unit
val blit_from_tstring : Netsys_types.tstring -> int -> t -> int -> int -> unit
val delete : t -> int -> int -> unit
val clear : t -> unit
val reset : t -> unit
val try_shrinking : t -> unit
val index_from : t -> int -> char -> int
val unsafe_buffer : t -> Bytes.t
val print_buffer : t -> unit
OCaml

Innovation. Community. Security.