8586878889909192939495
try { byte[] buff = new byte[AbstractPacket.MAX_PACKET_SIZE]; int len; long offset = 0; AbstractPacket packet; // Send first packet in all cases. If InputStream is empty too. len = in.read(buff); if (len < AbstractPacket.MAX_PACKET_SIZE) {