public static Long truncateOpCRC32(String stream,DLSN dlsn){
  CRC32 crc=requestCRC.get();
  try {
    crc.update(stream.getBytes());
    crc.update(dlsn.serializeBytes());
    long result=crc.getValue();
    return crc.getValue();
  }
  finally {
    crc.reset();
  }
}

public static Long truncateOpCRC32 ( String stream , DLSN dlsn ) { CRC32 crc = requestCRC . get ( ) ; try { crc . update ( stream . getBytes ( ) ) ; crc . update ( dlsn . serializeBytes ( ) ) ; long result = crc . getValue ( ) ; return crc . getValue ( ) ; } finally { crc . reset ( ) ; } }
generate crc32 for truncateop .
