netty5/buffer/src
Norman Maurer f30a51b905 Correctly handle byte shifting if system does not support unaligned access.
Motivation:

We had a bug in our implemention which double "reversed" bytes on systems which not support unaligned access.

Modifications:

- Correctly only reverse bytes if needed.
- Share code between unsafe implementations.

Result:

No more data-corruption on sytems without unaligned access.
2015-10-20 17:32:13 +02:00
..
main/java/io/netty/buffer Correctly handle byte shifting if system does not support unaligned access. 2015-10-20 17:32:13 +02:00
test/java/io/netty/buffer Minimize reference count checks in SlicedByteBuf 2015-10-16 21:09:03 +02:00