Class ByteOrderValues

Hierarchy: Object , ByteOrderValues
public class ByteOrderValues
Methods to read and write primitive Java datatypes from/to byte sequences, allowing the byte order to be specified

Similar to the standard Java ByteBuffer class.

public static int getInt(byte[] buf, int byteOrder)
public static void putInt(int intValue, byte[] buf, int byteOrder)
public static long getLong(byte[] buf, int byteOrder)
public static void putLong(long longValue, byte[] buf, int byteOrder)
public static double getDouble(byte[] buf, int byteOrder)
public static void putDouble(double doubleValue, byte[] buf, int byteOrder)