| JVM | Platform | Status |
|---|---|---|
| OpenJDK (Temurin) Current | Linux | |
| OpenJDK (Temurin) LTS | Linux | |
| OpenJDK (Temurin) Current | Windows | |
| OpenJDK (Temurin) LTS | Windows |
The jintegers package provides basic functions to pack and unpack integers to/from byte arrays in specific byte orders.
As the Java platform evolves, libraries that may have been necessary in the past can become unnecessary due to new platform features. The jintegers package falls into this category: The new Foreign Function And Memory API makes much of the functionality here redundant.
This package is in maintenance mode and will not see any new functionality.
- High coverage test suite.
- Written in pure Java 17.
- OSGi-ready
- JPMS-ready
- ISC license.
byte data[] = new byte[4]; Signed32.packToBytesLittleEndian(23, data); int r = Signed32.unpackFromBytesLittleEndian(data); 