`sig
type t
val create : int -> Netbuffer.t
val contents : Netbuffer.t -> string
val to_bytes : Netbuffer.t -> Stdlib.Bytes.t
val to_tstring_poly :
Netbuffer.t -> 's Netstring_tstring.tstring_kind -> 's
val to_tstring :
Netbuffer.t -> 'a Netstring_tstring.tstring_kind -> Netsys_types.tstring
val length : Netbuffer.t -> int
val get : Netbuffer.t -> int -> char
val nth : Netbuffer.t -> int -> char
val sub : Netbuffer.t -> int -> int -> string
val sub_bytes : Netbuffer.t -> int -> int -> Stdlib.Bytes.t
val blit_to_bytes :
Netbuffer.t -> int -> Stdlib.Bytes.t -> int -> int -> unit
val blit_to_string :
Netbuffer.t -> int -> Stdlib.Bytes.t -> int -> int -> unit
val blit : Netbuffer.t -> int -> Stdlib.Bytes.t -> int -> int -> unit
val blit_to_memory :
Netbuffer.t -> int -> Netsys_mem.memory -> int -> int -> unit
val blit_to_tbuffer :
Netbuffer.t -> int -> Netsys_types.tbuffer -> int -> int -> unit
val add_string : Netbuffer.t -> string -> unit
val add_bytes : Netbuffer.t -> Stdlib.Bytes.t -> unit
val add_tstring : Netbuffer.t -> Netsys_types.tstring -> unit
val add_tstring_poly :
Netbuffer.t -> 's Netstring_tstring.tstring_ops -> 's -> unit
val add_substring : Netbuffer.t -> string -> int -> int -> unit
val add_subbytes : Netbuffer.t -> Stdlib.Bytes.t -> int -> int -> unit
val add_subtstring :
Netbuffer.t -> Netsys_types.tstring -> int -> int -> unit
val add_sub_string : Netbuffer.t -> string -> int -> int -> unit
val add_submemory : Netbuffer.t -> Netsys_mem.memory -> int -> int -> unit
val add_sub_memory : Netbuffer.t -> Netsys_mem.memory -> int -> int -> unit
val add_subtstring_poly :
Netbuffer.t ->
's Netstring_tstring.tstring_ops -> 's -> int -> int -> unit
val add_char : Netbuffer.t -> char -> unit
val add_char_2 : Netbuffer.t -> char -> char -> unit
val add_char_4 : Netbuffer.t -> char -> char -> char -> char -> unit
val add_inplace :
?len:int -> Netbuffer.t -> (Stdlib.Bytes.t -> int -> int -> int) -> int
val add_buffer : Netbuffer.t -> Netbuffer.t -> unit
val area_for_additions :
?len:int -> Netbuffer.t -> Stdlib.Bytes.t * int * int
val advance : Netbuffer.t -> int -> unit
val insert_string : Netbuffer.t -> int -> string -> unit
val insert_substring : Netbuffer.t -> int -> string -> int -> int -> unit
val insert_sub_string : Netbuffer.t -> int -> string -> int -> int -> unit
val insert_subbytes :
Netbuffer.t -> int -> Stdlib.Bytes.t -> int -> int -> unit
val insert_subtstring :
Netbuffer.t -> int -> Netsys_types.tstring -> int -> int -> unit
val insert_submemory :
Netbuffer.t -> int -> Netsys_types.memory -> int -> int -> unit
val insert_char : Netbuffer.t -> int -> char -> unit
val set : Netbuffer.t -> int -> char -> unit
val put_string : Netbuffer.t -> int -> string -> unit
val blit_from_string : string -> int -> Netbuffer.t -> int -> int -> unit
val blit_from_bytes :
Stdlib.Bytes.t -> int -> Netbuffer.t -> int -> int -> unit
val blit_from_memory :
Netsys_types.memory -> int -> Netbuffer.t -> int -> int -> unit
val blit_from_tstring :
Netsys_types.tstring -> int -> Netbuffer.t -> int -> int -> unit
val delete : Netbuffer.t -> int -> int -> unit
val clear : Netbuffer.t -> unit
val reset : Netbuffer.t -> unit
val try_shrinking : Netbuffer.t -> unit
val index_from : Netbuffer.t -> int -> char -> int
val unsafe_buffer : Netbuffer.t -> Stdlib.Bytes.t
val print_buffer : Netbuffer.t -> unit
end`