java.util.zip.Adler32.update2() 方法示例 java.util.zip.Adler32.update1() 方法示例 java.util.zip. CheckedInputStream.getChecksum() 方法示例 java.util.zip.Adler32.update2() 方法示例 package com.codingdict; import java.util.zip.Adler32; import java.util.zip.Checksum; public class Adler32Demo { public static void main(String[] args) { int bytes = 55; Checksum checksum = new Adler32(); checksum.reset(); checksum.update(bytes); long checksumValue = checksum.getValue(); System.out.println("Adler32 checksum :" + checksumValue); } } java.util.zip.Adler32.update1() 方法示例 java.util.zip. CheckedInputStream.getChecksum() 方法示例