项目作者: io7m

项目描述 :
Integer handling
高级语言: Java
项目地址: git://github.com/io7m/jintegers.git
创建时间: 2015-08-09T21:34:06Z
项目社区:https://github.com/io7m/jintegers

开源协议:ISC License

下载


jintegers

Maven Central
Maven Central (snapshot)
Codecov
Java Version

com.io7m.jintegers

JVM Platform Status
OpenJDK (Temurin) Current Linux Build (OpenJDK (Temurin) Current, Linux)
OpenJDK (Temurin) LTS Linux Build (OpenJDK (Temurin) LTS, Linux)
OpenJDK (Temurin) Current Windows Build (OpenJDK (Temurin) Current, Windows)
OpenJDK (Temurin) LTS Windows Build (OpenJDK (Temurin) LTS, Windows)

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

  1. byte data[] = new byte[4];
  2. Signed32.packToBytesLittleEndian(23, data);
  3. int r = Signed32.unpackFromBytesLittleEndian(data);