57cb7a8a91
Motivation: Some buffers implement ByteBuf#order(order) by wrapping themselves in a SwappedByteBuf. The SwappedByteBuf is then responsible for swapping the byte order on accesses. The explicitly little-endian accessor methods, however, should not be swapped to big-endian, but instead remain explicitly little-endian. Modification: The SwappedByteBuf was passing through calls to e.g. writeIntLE, to the big-endian equivalent, e.g. writeInt. This has been changed so that these calls delegate to their explicitly little-endian counterpart. Result: This makes all buffers that make use of SwappedByteBuf for their endian-ness configuration, consistent with all the buffers that use other implementation strategies. In the end, all buffers now behave exactly the same, when using their explicitly little-endian accessor methods. |
||
---|---|---|
.. | ||
src | ||
pom.xml |