public class ByteUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static int |
getInt(byte[] b,
int off) |
static long |
getLong(byte[] b,
int off) |
static short |
getShort(byte[] b,
int off) |
static void |
putInt(byte[] b,
int off,
int val) |
static void |
putLong(byte[] b,
int off,
long val) |
static void |
putShort(byte[] b,
int off,
short val) |
public static void putShort(@Nonnull
byte[] b,
@Nonnegative
int off,
short val)
public static short getShort(@Nonnull
byte[] b,
@Nonnegative
int off)
public static int getInt(@Nonnull
byte[] b,
@Nonnegative
int off)
public static void putInt(@Nonnull
byte[] b,
@Nonnegative
int off,
int val)
public static long getLong(@Nonnull
byte[] b,
@Nonnegative
int off)
public static void putLong(@Nonnull
byte[] b,
@Nonnegative
int off,
long val)
Copyright © 2013 echocat. All Rights Reserved.