7071727374757677787980
int source_count = data.getInt(0); for(int j = 0;j<source_count;j++) { data = getByteBuffer(16); channel.read(data); ClientID client_id = new ClientID(data.array()); data = getByteBuffer(8); channel.read(data); long creation_time = data.getLong(0); data = getByteBuffer(1);
7172737475767778798081
for(int i = 1 ; i <= totalContacts ; i++) { data = getByteBuffer(16); channel.read(data); ClientID contact_id = new ClientID(data.array()); data = getByteBuffer(4); channel.read(data); byte[] ip = data.array().clone(); //ip = Convert.reverseArray(ip); IPAddress address = new IPAddress(ip);
239240241242243244245
File file = new File(KAD_ID_FILE); if (!file.exists()) return ; FileChannel input_channel = new FileInputStream(file).getChannel(); ByteBuffer data = Misc.getByteBuffer(16); input_channel.read(data); client_id = new ClientID(data.array()); }