public class ByteUtilities extends Object
| Constructor and Description |
|---|
ByteUtilities() |
| Modifier and Type | Method and Description |
|---|---|
static double |
getDouble(byte[] destination,
int pos,
ByteOrder byteOrder) |
static double |
getDoubleBigEdian(byte[] destination,
int pos) |
static double |
getDoubleLittleEdian(byte[] destination,
int pos) |
static float |
getFloat(byte[] destination,
int pos,
ByteOrder byteOrder) |
static float |
getFloatBigEdian(byte[] destination,
int pos) |
static float |
getFloatLittleEdian(byte[] destination,
int pos) |
static int |
getInteger(byte[] destination,
int pos,
ByteOrder byteOrder) |
static int |
getIntegerBigEdian(byte[] destination,
int pos) |
static int |
getIntegerLittleEdian(byte[] destination,
int pos) |
static short |
getShort(byte[] destination,
int pos,
ByteOrder byteOrder) |
static short |
getShortLittleEdian(byte[] destination,
int pos) |
static int |
setDouble(double value,
byte[] destination,
int pos,
ByteOrder byteOrder) |
static int |
setDoubleBigEdian(double value,
byte[] destination,
int pos) |
static int |
setDoubleLittleEdian(double value,
byte[] destination,
int pos) |
static int |
setFloat(float value,
byte[] destination,
int pos,
ByteOrder byteOrder) |
static int |
setFloatBigEdian(float value,
byte[] destination,
int pos) |
static int |
setFloatLittleEdian(float value,
byte[] destination,
int pos) |
static int |
setInteger(int value,
byte[] destination,
int pos,
ByteOrder byteOrder) |
static int |
setIntegerBigEdian(int value,
byte[] destination,
int pos) |
static int |
setIntegerLittleEdian(int value,
byte[] destination,
int pos) |
public static int getIntegerLittleEdian(byte[] destination,
int pos)
public static int getIntegerBigEdian(byte[] destination,
int pos)
public static int getInteger(byte[] destination,
int pos,
ByteOrder byteOrder)
public static short getShortLittleEdian(byte[] destination,
int pos)
public static short getShort(byte[] destination,
int pos,
ByteOrder byteOrder)
public static int setIntegerLittleEdian(int value,
byte[] destination,
int pos)
public static int setIntegerBigEdian(int value,
byte[] destination,
int pos)
public static int setInteger(int value,
byte[] destination,
int pos,
ByteOrder byteOrder)
public static double getDoubleBigEdian(byte[] destination,
int pos)
public static double getDoubleLittleEdian(byte[] destination,
int pos)
public static double getDouble(byte[] destination,
int pos,
ByteOrder byteOrder)
public static int setDoubleBigEdian(double value,
byte[] destination,
int pos)
public static int setDoubleLittleEdian(double value,
byte[] destination,
int pos)
public static int setDouble(double value,
byte[] destination,
int pos,
ByteOrder byteOrder)
public static float getFloatBigEdian(byte[] destination,
int pos)
public static float getFloatLittleEdian(byte[] destination,
int pos)
public static float getFloat(byte[] destination,
int pos,
ByteOrder byteOrder)
public static int setFloatBigEdian(float value,
byte[] destination,
int pos)
public static int setFloatLittleEdian(float value,
byte[] destination,
int pos)
public static int setFloat(float value,
byte[] destination,
int pos,
ByteOrder byteOrder)
Copyright © 2007–2017 Andreas W. Bartels. All rights reserved.