public class UtilNumber extends Object
Modifier and Type | Method and Description |
---|---|
static int |
bytesBigEndianToInt(byte[] value) |
static long |
bytesBigEndianToLong(byte[] value) |
static int |
bytesLittleEndianToInt(byte[] value) |
static long |
bytesLittleEndianToLong(byte[] value) |
static byte[] |
intToBytesBigEndian(int value) |
static byte[] |
intToBytesLittleEndian(int value) |
static byte[] |
longToBytesBigEndian(long value) |
static byte[] |
longToBytesLittleEndian(long value) |
public static byte[] intToBytesBigEndian(int value)
public static byte[] longToBytesBigEndian(long value)
public static byte[] intToBytesLittleEndian(int value)
public static byte[] longToBytesLittleEndian(long value)
public static int bytesBigEndianToInt(byte[] value)
public static int bytesLittleEndianToInt(byte[] value)
public static long bytesBigEndianToLong(byte[] value)
public static long bytesLittleEndianToLong(byte[] value)
Copyright © 2014–2023. All rights reserved.