code: public LinkedList<byte[]> getUnsentPackets() {
  		LinkedList<byte[]> list = new LinkedList<>();
  		ByteBuffer buffer = queue.poll();
  		while (buffer != null) {
  			list.addLast(buffer.array());
  			buffer = queue.poll();
  		}
  		return list;
  	}
docs: --- GET CURRENT PACKET ---