(defstruct cbuffer (data (foreign-alloc :uchar :count 16)) (size 0) (length 16))
Variable *USE-CBUFFER-POOL* .
Variable *CBUFFER-POOL-MAX-SIZE* max num of buffers in pool
Variable *CBUFFER-POOL-MIN-BUFFER-SIZE* min size of buffers in pool
Function MAKE-CBUFFER-POOL make-cbuffer-pool creates a priority-pool using the length
of buffers as priority.
(defcfun "memcpy" :pointer (dest :pointer) (src :pointer) (length :int))
Function CBUFFER-RESIZE resizes cbuffer by creating a new one and copying the data along.
Function CBUFFER-ADJUST-MIN-SIZE WARNING: size must be smaller then length!
Function (SETF CBUFFER-BYTE)