netty5/codec
Ning Xie a304d61b26
fix snappy crc32c checksum (#10048)
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
2020-02-27 09:03:50 +01:00
..
src fix snappy crc32c checksum (#10048) 2020-02-27 09:03:50 +01:00
pom.xml [maven-release-plugin] prepare for next development iteration 2020-01-13 09:13:53 +00:00