netty-incubator-buffer-api/src/test/java
Chris Vest 56bfa22d4a Align Buffer.get* bounds checks with their documented behaviour
The get* methods bounds checking accesses between 0 and the write offset, and the tests were confirming this behaviour.

This was wrong because it is not symmetric with the set* methods, which bounds check between 0 and the capacity, and does not modify the write offset.

The tests and methods have been updated so the get* methods now bounds check between 0 and the capacity.
2021-03-09 12:02:46 +01:00
..
io/netty/buffer/api Align Buffer.get* bounds checks with their documented behaviour 2021-03-09 12:02:46 +01:00