public class ByteUtils extends Object
| Constructor and Description |
|---|
ByteUtils() |
| Modifier and Type | Method and Description |
|---|---|
static char |
getChar(byte[] bytes,
int offset) |
static double |
getDouble(byte[] bytes,
int offset) |
static float |
getFloat(byte[] bytes,
int offset) |
static int |
getInt(byte[] bytes,
int offset) |
static long |
getLong(byte[] bytes,
int offset) |
static short |
getShort(byte[] bytes,
int offset) |
static void |
setChar(byte[] bytes,
char value,
int offset) |
static void |
setDouble(byte[] bytes,
double value,
int offset) |
static void |
setFloat(byte[] bytes,
float value,
int offset) |
static void |
setInt(byte[] bytes,
int value,
int offset) |
static void |
setLong(byte[] bytes,
long value,
int offset) |
static void |
setShort(byte[] bytes,
short value,
int offset) |
public static char getChar(byte[] bytes,
int offset)
public static void setChar(byte[] bytes,
char value,
int offset)
public static short getShort(byte[] bytes,
int offset)
public static void setShort(byte[] bytes,
short value,
int offset)
public static int getInt(byte[] bytes,
int offset)
public static void setInt(byte[] bytes,
int value,
int offset)
public static long getLong(byte[] bytes,
int offset)
public static void setLong(byte[] bytes,
long value,
int offset)
public static float getFloat(byte[] bytes,
int offset)
public static void setFloat(byte[] bytes,
float value,
int offset)
public static double getDouble(byte[] bytes,
int offset)
public static void setDouble(byte[] bytes,
double value,
int offset)
Copyright © 2017. All rights reserved.