public void RemoveTlv(int tag){
		int newlen=0;
		if (this.OtherTlvArray != null) {
			Tlv[] tmp = new Tlv[OtherTlvArray.length];
			for(int i=0;i<OtherTlvArray.length;i++){
				if (OtherTlvArray[i].Tag != tag){
					tmp[newlen]=OtherTlvArray[i];
					newlen++;
				} 
			}
			//System.out.println("newlen:"+newlen);
			if (newlen<OtherTlvArray.length){
				Tlv[] tmp2=new Tlv[newlen];
				System
				.arraycopy(tmp, 0, tmp2, 0,
						newlen);
				this.OtherTlvArray=tmp2;
			}
		}
	}