Copies an IO buffer.
int INKIOBufferCopy (INKIOBuffer
bufp
, INKIOBufferReader
readerp
, int
length
, int
offset
)
Copies
bytes of data from the IO buffer reader
length
to the IO buffer
readerp
. As previously described, bufp
INKIOBufferCopy
does not actually copy the data - it
simply copies pointers and adjusts reference counts
appropriately. The parameter
specifies the
offset from offset
's
current position to start copying from.readerp
The number of bytes actually copied.
INK_ERROR
if an error occurs.