000f2a0934
Motivation: It may in some cases be useful to unwrap a composite buffer and work on the array of buffers directly. The decomposeBuffer method makes this possible safely, by killing the composite buffer in the process. Modification: Add a CompositeBuffer.decomposeBuffer method, which returns the array of the constituent component buffers of the composite buffer, and at the same time closes the composite buffer without closing its components. The caller effectively takes ownership of the component buffers away from the composite buffer. Result: This API makes buffer composition fully reversible. |
||
---|---|---|
.. | ||
src | ||
pom.xml |