public final class ByteArrays extends Object
| Modifier and Type | Method and Description |
|---|---|
static double |
getDouble(byte[] bytes,
int index) |
static float |
getFloat(byte[] bytes,
int index) |
static int |
getInt(byte[] bytes,
int index) |
static long |
getLong(byte[] bytes,
int index) |
static short |
getShort(byte[] bytes,
int index) |
static void |
setDouble(byte[] bytes,
int index,
double value) |
static void |
setFloat(byte[] bytes,
int index,
float value) |
static void |
setInt(byte[] bytes,
int index,
int value) |
static void |
setLong(byte[] bytes,
int index,
long value) |
static void |
setShort(byte[] bytes,
int index,
short value) |
public static short getShort(byte[] bytes,
int index)
public static int getInt(byte[] bytes,
int index)
public static long getLong(byte[] bytes,
int index)
public static float getFloat(byte[] bytes,
int index)
public static double getDouble(byte[] bytes,
int index)
public static void setShort(byte[] bytes,
int index,
short value)
public static void setInt(byte[] bytes,
int index,
int value)
public static void setLong(byte[] bytes,
int index,
long value)
public static void setFloat(byte[] bytes,
int index,
float value)
public static void setDouble(byte[] bytes,
int index,
double value)
Copyright © 2012–2018. All rights reserved.