a304d61b26
Motivation: The Snappy crc32c checksum produced by SnappyFrameEncoder maybe failed to be validated on other languages snappy decoder, such as golang/snappy. Modification: - make the 4-byte cast later after the mask operation. Because whether retaining the higher 4-7 bytes in a long java type will make difference in (checksum >> 15 | checksum << 17) + 0xa282ead8 result. Result: Checksum correctly calculated |
||
---|---|---|
.. | ||
main/java/io/netty/handler/codec | ||
test |