uber/tchannel-java

Update adler checksum to not use bytebuffer for checksums

Closed this issue · 2 comments

Using ByteBuffer for checksums is a java8 feature and we should avoid it.

http://docs.oracle.com/javase/7/docs/api/java/util/zip/Checksum.html

ok…we'll have to read the ByteBuf to a byte[], run the checksum, then repackage the ByteBuf via Unpooled.wrappedBuffer(<byte[] goes here>. Not a huge deal.

Done in #36 .