msgpack操作
public final static int UINT8 = 0xcc;
public static long uint8Array(long num) {
long j = num;
if (j < 0) {
j = num + Math.abs(num) / 256 * 256+256;
}
if (j > 255) {
j = num - num / 256 * 256