System.arraycopy(buf, indexes[3] + 1, packbuf, 0, packbuf.length);
pack = new IPMPack(packbuf);
}
public byte[] getBytes() {
ByteBuffer bb = new ByteBuffer();
String prefix = fromaddr.toString() + ":" + toaddr.toString() + ":";
bb.append(prefix.getBytes());
bb.append(pack.getBytes());
byte[] suffix = new byte[]{0, 0, 0};
bb.append(suffix);
return bb.getBytes();
}