Package com.jcraft.jzlib

Examples of com.jcraft.jzlib.CRC32.reset()


      return reply_int((int) crc.getValue());
    }
    case CRC32_2: {
      CRC32 crc = new CRC32();
      long init = cmd.getInt() & 0xffffffffL;
      crc.reset(init);
      crc.update(cmd.array(), cmd.arrayOffset()+cmd.position(), cmd.remaining());
      return reply_int((int) crc.getValue());
    }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.