public static KadPacket getPublishKeyReq2Packet(ClientID clientID,
Int128 keywordID, TagList tagList) {
ByteBuffer tag_list = tagsToByteBuffer(tagList);
KadPacket packet = new KadPacket(KADEMLIA2_PUBLISH_KEY_REQ, 16 + 2 + 16
+ 1 + tag_list.capacity());
packet.insertData(clientID.toByteArray());
packet.insertData((short) 1);
packet.insertData(keywordID.toByteArray());
packet.insertData(intToByte(tagList.size()));