标签:
class ByteUtil {
static byte[] toByteArray(int iSource, int iArrayLen) {
[] bLocalArr = new byte[iArrayLen];
(int i = 0; (i < 4) && (i < iArrayLen); i++) {
) (iSource >> 8 * i & 0xFF);
bLocalArr;
static int toInt(byte[] bRefArr) {
iOutcome = 0;
bLoop;
(int i = 0; i < 4; i++) {
) << (8 * i);
iOutcome;
com.yl.common.utils;
class ByteUtil {
static byte[] toByteArray(int iSource, int iArrayLen) {
[] bLocalArr = new byte[iArrayLen];
(int i = 0; (i < 4) && (i < iArrayLen); i++) {
) (iSource >> 8 * i & 0xFF);
bLocalArr;
static int toInt(byte[] bRefArr) {
iOutcome = 0;
bLoop;
(int i = 0; i < 4; i++) {
) << (8 * i);
iOutcome;
原文地址 http://techfoxbbs.com/blog-1-5.html
标签:
原文地址:http://www.cnblogs.com/techfox/p/4563516.html