release

fun IoBuffer.release(pool: ObjectPool<IoBuffer>)

releases buffer view and returns it to the pool if there are no more usages. Based on simple ref-counting so it is very fragile.