Registry / utility / crc32ex

crc32ex

JSON →
library0.1.2javamavenunverified

Provides a CRC32 implementation that uses hardware intrinsics on Java 8 and falls back to pure Java on older versions.

<dependency> <groupId>com.github.tjake</groupId> <artifactId>crc32ex</artifactId> <version>0.1.2</version> </dependency>
INSTALL
IMPORT
SIG · CRC32EX
C
crc32ex
utilityjavav0.1.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CRC32Ex
com.github.tjake.crc32ex.CRC32Ex

Compute a CRC32 checksum using CRC32Ex.

import com.github.tjake.crc32ex.CRC32Ex; import java.util.zip.Checksum; public class CrcExample { public static void main(String[] args) { Checksum crc = new CRC32Ex(); crc.update("hello".getBytes()); System.out.println(crc.getValue()); } }
Debug
Known issues
gotchaOn Java 7, performance may be significantly lower due to lack of hardware intrinsics.
fix
Upgrade to Java 8+ for optimal performance.
affects: >=0.1.0
Upgrade
Version history
0.1.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
crc32ex — mvn dependency:get crc32ex · libregistry