public class BinaryTool extends Object
| 构造器和说明 |
|---|
BinaryTool() |
| 限定符和类型 | 方法和说明 |
|---|---|
static int |
calcBufferToInteger(byte[] buffer,
int offset) |
static short |
calcBufferToShort(byte[] buffer,
int offset) |
static void |
copyIntegerToBuffer(int n,
byte[] buffer,
int offset) |
static void |
copyShortToBuffer(short n,
byte[] buffer,
int offset) |
public static void copyIntegerToBuffer(int n,
byte[] buffer,
int offset)
public static int calcBufferToInteger(byte[] buffer,
int offset)
public static void copyShortToBuffer(short n,
byte[] buffer,
int offset)
public static short calcBufferToShort(byte[] buffer,
int offset)
Copyright © 2017. All rights reserved.