netty5/buffer
Norman Maurer 819b870b8a Correctly take position into account when wrap a ByteBuffer via ReadOnlyUnsafeDirectByteBuf
Motivation:

We did not correctly take the position into account when wrapping a ByteBuffer via ReadOnlyUnsafeDirectByteBuf as we obtained the memory address from the original ByteBuffer and not the slice we take.

Modifications:

- Correctly use the slice to obtain memory address.
- Add test case.

Result:

Fixes [#7565].
2018-01-16 19:18:59 +01:00
..
src Correctly take position into account when wrap a ByteBuffer via ReadOnlyUnsafeDirectByteBuf 2018-01-16 19:18:59 +01:00
pom.xml [maven-release-plugin] prepare for next development iteration 2017-12-15 13:10:54 +00:00