Update adler checksum to not use bytebuffer for checksums
Closed this issue · 2 comments
truncs commented
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
willsalz commented
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.