public class NetworkByteOrderNumberUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_16BITS |
static int |
MAX_24BITS |
static long |
MAX_32BITS |
static int |
MAX_8BITS |
| Constructor and Description |
|---|
NetworkByteOrderNumberUtil() |
| Modifier and Type | Method and Description |
|---|---|
static long |
eightByteToUInt(byte[] value) |
static long |
eightByteToUInt(byte[] value,
int offset) |
static long |
fourByteToUInt(byte[] value) |
static long |
fourByteToUInt(byte[] value,
int offset) |
static byte[] |
intToEightByte(long value) |
static void |
intToEightByte(long value,
byte[] dest,
int off) |
static byte[] |
intToFourByte(long value) |
static void |
intToFourByte(long value,
byte[] dest,
int off) |
static byte |
intToOneByte(int value) |
static byte[] |
intToOneTwoThreeFourByte(long value) |
static byte[] |
intToThreeByte(long value) |
static void |
intToThreeByte(long value,
byte[] buf,
int offset) |
static byte[] |
intToTwoByte(int value) |
static void |
intToTwoByte(int value,
byte[] destination,
int offset) |
static long |
oneByteToUInt(byte value) |
static int |
oneTwoThreeFourByteToInt(byte[] value) |
static int |
oneTwoThreeFourByteToUInt(byte[] value,
int val_length,
int val_offset) |
static long |
threeByteToUInt(byte[] value) |
static long |
threeByteToUInt(byte[] value,
int offset) |
static long |
twoByteToUInt(byte[] value) |
static long |
twoByteToUInt(byte[] value,
int offset) |
public static final int MAX_8BITS
public static final int MAX_16BITS
public static final int MAX_24BITS
public static final long MAX_32BITS
public static byte[] intToEightByte(long value)
public static void intToEightByte(long value,
byte[] dest,
int off)
public static long eightByteToUInt(byte[] value,
int offset)
public static long eightByteToUInt(byte[] value)
public static byte[] intToFourByte(long value)
public static void intToFourByte(long value,
byte[] dest,
int off)
public static long fourByteToUInt(byte[] value,
int offset)
public static long fourByteToUInt(byte[] value)
public static byte[] intToThreeByte(long value)
public static void intToThreeByte(long value,
byte[] buf,
int offset)
public static long threeByteToUInt(byte[] value,
int offset)
public static long threeByteToUInt(byte[] value)
public static byte[] intToTwoByte(int value)
public static void intToTwoByte(int value,
byte[] destination,
int offset)
public static long twoByteToUInt(byte[] value,
int offset)
public static long twoByteToUInt(byte[] value)
public static byte intToOneByte(int value)
public static long oneByteToUInt(byte value)
public static int oneTwoThreeFourByteToUInt(byte[] value,
int val_length,
int val_offset)
public static int oneTwoThreeFourByteToInt(byte[] value)
public static byte[] intToOneTwoThreeFourByte(long value)
Copyright 2004-2019 Solace Corporation. All rights reserved.