*/
	public boolean processForPacket(ByteBuffer from, ByteBuffer dest) {
	
		int remain = from.remaining();
		int cacheSpace = dest.remaining();
		int sizeToCopy = cacheSpace;
		
		if(remain <= 0)
			return false;
		
		//reduce the size to copy.  The from buffer does not
		//have enough data to put the whole packet together
		if(remain < cacheSpace)
			sizeToCopy = remain;
		
		byte[] dst = dest.array();
		
		if(sizeToCopy > 0) {
			from.get(dst, dest.position(), sizeToCopy);
			int curPos = dest.position();
			dest.position(curPos+sizeToCopy);
		}
		
		if(dest.remaining() <= 0) {
			return true;
		} 
		
		return false;
	}