netty5/buffer/src
Norman Maurer 97bf3c0a9b Correctly throw IndexOutOfBoundsException when dst.remaining() is too big.
Motivation:

In some ByteBuf implementations we not correctly implement getBytes(index, ByteBuffer).

Modifications:

Correct code to do what is defined in the javadocs and adding test.

Result:

Implementation works as described.
2016-10-12 14:41:56 +02:00
..
main/java/io/netty/buffer Correctly throw IndexOutOfBoundsException when dst.remaining() is too big. 2016-10-12 14:41:56 +02:00
test/java/io/netty/buffer Correctly throw IndexOutOfBoundsException when dst.remaining() is too big. 2016-10-12 14:41:56 +02:00