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