Ocamlnet 3 Reference Manual : Netmcore_buffer

`sig
type 'h buffer
type 'h buffer_descr
val create : Netmcore.res_id -> int -> 'h -> 'h Netmcore_buffer.buffer
val destroy : 'h Netmcore_buffer.buffer -> unit
val start : 'h Netmcore_buffer.buffer -> int
val length : 'h Netmcore_buffer.buffer -> int
val contents : 'h Netmcore_buffer.buffer -> string
val sub : 'h Netmcore_buffer.buffer -> int -> int -> string
val blit_to_string :
'h Netmcore_buffer.buffer -> int -> string -> int -> int -> unit
val blit_to_memory :
'h Netmcore_buffer.buffer ->
int -> Netsys_mem.memory -> int -> int -> unit
val access :
'h Netmcore_buffer.buffer -> int -> (string -> int -> int -> 'a) -> 'a
val add_string : 'h Netmcore_buffer.buffer -> string -> unit
val add_sub_string :
'h Netmcore_buffer.buffer -> string -> int -> int -> unit
val add_sub_memory :
'h Netmcore_buffer.buffer -> Netsys_mem.memory -> int -> int -> unit
val delete_hd : 'h Netmcore_buffer.buffer -> int -> unit
val clear : 'h Netmcore_buffer.buffer -> unit
val header : 'h Netmcore_buffer.buffer -> 'h
val descr_of_buffer :
'h Netmcore_buffer.buffer -> 'h Netmcore_buffer.buffer_descr
val buffer_of_descr :
Netmcore.res_id ->
'h Netmcore_buffer.buffer_descr -> 'h Netmcore_buffer.buffer
val heap : 'a Netmcore_buffer.buffer -> Obj.t Netmcore_heap.heap
end`