netty5/buffer
Trustin Lee cc4f705029 Replace ChannelBuffer.toByteBuffer() with hasNioBuffer() and nioBuffer()
... just like we do with byte arrays.  toByteBuffer() and
toByteBuffers() had an indeterministic behavior and thus it could not
tell when the returned NIO buffer is shared or not.  nioBuffer() always
returns a view buffer of the Netty buffer.  The only case where
hasNioBuffer() returns false and nioBuffer() fails is the
CompositeChannelBuffer, which is not very commonly used and *slow*.
2012-06-02 01:30:55 -07:00
..
src Replace ChannelBuffer.toByteBuffer() with hasNioBuffer() and nioBuffer() 2012-06-02 01:30:55 -07:00
pom.xml Code cleanup 2012-03-30 12:48:28 +09:00