sig
type t
val create : int -> Netpagebuffer.t
val contents : Netpagebuffer.t -> string
val to_bytes : Netpagebuffer.t -> Bytes.t
val to_tstring_poly :
Netpagebuffer.t -> 's Netstring_tstring.tstring_kind -> 's
val to_tstring :
Netpagebuffer.t ->
'a Netstring_tstring.tstring_kind -> Netsys_types.tstring
val length : Netpagebuffer.t -> int
val sub : Netpagebuffer.t -> int -> int -> string
val sub_bytes : Netpagebuffer.t -> int -> int -> Bytes.t
val blit_to_bytes : Netpagebuffer.t -> int -> Bytes.t -> int -> int -> unit
val blit_to_string :
Netpagebuffer.t -> int -> Bytes.t -> int -> int -> unit
val blit_to_memory :
Netpagebuffer.t -> int -> Netsys_mem.memory -> int -> int -> unit
val blit_to_tbuffer :
Netpagebuffer.t -> int -> Netsys_types.tbuffer -> int -> int -> unit
val blit : Netpagebuffer.t -> int -> Bytes.t -> int -> int -> unit
val add_string : Netpagebuffer.t -> string -> unit
val add_bytes : Netpagebuffer.t -> Bytes.t -> unit
val add_tstring : Netpagebuffer.t -> Netsys_types.tstring -> unit
val add_substring : Netpagebuffer.t -> string -> int -> int -> unit
val add_sub_string : Netpagebuffer.t -> string -> int -> int -> unit
val add_subbytes : Netpagebuffer.t -> Bytes.t -> int -> int -> unit
val add_submemory :
Netpagebuffer.t -> Netsys_mem.memory -> int -> int -> unit
val add_sub_memory :
Netpagebuffer.t -> Netsys_mem.memory -> int -> int -> unit
val add_subtstring :
Netpagebuffer.t -> Netsys_types.tstring -> int -> int -> unit
val add_inplace :
Netpagebuffer.t -> (Netsys_mem.memory -> int -> int -> int) -> int
val page_for_additions : Netpagebuffer.t -> Netsys_mem.memory * int * int
val advance : Netpagebuffer.t -> int -> unit
val page_for_consumption : Netpagebuffer.t -> Netsys_mem.memory * int * int
val delete_hd : Netpagebuffer.t -> int -> unit
val clear : Netpagebuffer.t -> unit
val index_from : Netpagebuffer.t -> int -> char -> int
end