public class ByteHandlerold extends Object
Constructor and Description |
---|
ByteHandlerold() |
Modifier and Type | Method and Description |
---|---|
static void |
BoolToBuffer(int bitPos,
boolean value,
byte[] dest) |
static void |
bufferToBuffer(int begS,
byte[] source,
int begD,
byte[] dest,
int length) |
static int |
easyCopy(int begin,
int end,
byte... bytes) |
static long |
easyCopyL(int begin,
int end,
byte... bytes) |
static void |
IntToBuffer(int begS,
int begD,
int length,
int value,
byte[] dest) |
static void |
LongToBuffer(int begS,
int begD,
int length,
long value,
byte[] dest) |
static byte[] |
MACStringtoByteArray(String macAddress) |
static byte[] |
toByteArray(BitSet bits,
int length) |
public static int easyCopy(int begin, int end, byte... bytes)
public static long easyCopyL(int begin, int end, byte... bytes)
public static byte[] toByteArray(BitSet bits, int length)
public static void bufferToBuffer(int begS, byte[] source, int begD, byte[] dest, int length)
public static void IntToBuffer(int begS, int begD, int length, int value, byte[] dest)
public static void LongToBuffer(int begS, int begD, int length, long value, byte[] dest)
public static void BoolToBuffer(int bitPos, boolean value, byte[] dest)
public static byte[] MACStringtoByteArray(String macAddress)
Copyright © 2016. All rights reserved.