netty5/buffer
Janecek Jakub f3f49c91fd Fix setBytes on read-only ByteBuffer
Motivation:

The method setBytes did not work correctly because read-only ByteBuffer
does not allow access to its underlying array.

Modifications:

New case was added for ByteBuffer's that are not direct and do not have an array.
These must be handled by copying the data into a temporary array. Unit test was
added to test this case.

Result:

It is now possible to use read-only ByteBuffer as the source
for the setBytes method.
2015-11-17 22:45:16 -08:00
..
src Fix setBytes on read-only ByteBuffer 2015-11-17 22:45:16 -08:00
pom.xml [maven-release-plugin] prepare release netty-4.0.33.Final 2015-11-03 14:18:17 +01:00