Frees an IO buffer reader.
INKReturnCode INKIOBufferReaderFree
(INKIOBufferReader
readerp
)
Frees an IO buffer reader. The IO buffer maintains a
reference to each reader that accesses it and then frees those
references when the buffer gets destroyed (which makes it unnecessary
to call INKIOBufferReaderFree
). It is
sometimes useful to free an IO buffer reader if the reader is no
longer being used to allow the buffer data to automatically be
deallocated when other readers have consumed it.
INK_SUCCESS
if the IO buffer is successfully
freed.
INK_ERROR
if an error occurs.