java.util.zip.Adler32.java does not offer an API that accepts at ByteBuffer, you are (as of 7u1) required to copy the DirectBuffer into a Java byte[], then call Adler32's update() API (that's limited to byte[]). Which might have significant performance impacr for some applications.
|