Watch
2
0
Fork
You've already forked jintegers
0
Integer handling
  • Java 96.9%
  • Shell 3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Mark Raynsford 771ba15ea9
Some checks are pending
main-RHEL10-x86_64-jdk25 / Build (push) Waiting to run
main-RHEL10-x86_64-jdk26 / Build (push) Waiting to run
main-RHEL9-x86_64-jdk25 / Build (push) Waiting to run
main-RHEL9-x86_64-jdk26 / Build (push) Waiting to run
Update workflows.
2026-07-31 18:42:54 +01:00
.forgejo Update workflows. 2026-07-31 18:42:54 +01:00
com.io7m.jintegers.core Update primogenitor. 2025-10-24 21:22:30 +01:00
com.io7m.jintegers.tests Begin next development iteration. 2024-05-11 15:47:10 +00:00
src/site/resources Update site metadata. 2025-08-09 15:06:03 +00:00
.gitignore Update .gitignore. 2024-05-07 16:01:43 +00:00
.gitmodules Move to new organization. 2024-04-29 21:59:11 +00:00
doc7m-books.json Add doc7m-books.json 2026-07-31 18:36:45 +01:00
pom.xml Migrate project. 2026-06-27 10:09:44 +01:00
README-CHANGES.xml Mark release 3.0.1 2024-05-11 15:46:59 +00:00
README-LICENSE.txt Update LICENSE 2023-08-13 21:07:23 +00:00
README.in Migrate project. 2026-06-27 10:09:44 +01:00
README.md Migrate project. 2026-06-27 10:09:44 +01:00

jintegers

Maven Central Maven Central (snapshot) Java Version

com.io7m.jintegers

jintegers

The jintegers package provides basic functions to pack and unpack integers to/from byte arrays in specific byte orders.

Status

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.

Features

Usage

byte data[] = new byte[4];

Signed32.packToBytesLittleEndian(23, data);

int r = Signed32.unpackFromBytesLittleEndian(data);