Buffer Management Utilities

com.srbenoit.buffer

This package provides for pooled buffers. Management of pools is performed by the com.srbenoit.pool package, but this package provides the specific pooled objects to manage buffers of bytes and characters. These buffers can be chained to support arbitrarily large blocks of data, and are intended to allow programs to manage large and variable sized units of data without frequent allocation operations.

AbstractPooledBuffer
A base class with common methods for buffers that can be stored in a Pool.
PooledByteBuffer
A buffer that holds byte data and that can be stored in a Pool.
PooledCharBuffer
A buffer that holds character data and that can be stored in a Pool.

As the author of the source code available by following the links above, I hereby place this source code in the public domain. You can use, modify, and distribute the source code and executable programs based on the source code. However, note the following:
DISCLAIMER OF WARRANTY
This source code is provided "as is" and without any express or implied warranties whatsoever. The user must assume the entire risk of using the source code.