private byte[] GetInt16(int len) { byte[] ret = new byte[2]; ret[0] = (byte)((len & 0xff00) >> 8); ret[1] = (byte)(len & 0x00ff); return ret; }