public long getDateLength() {
		if (this.getPayloadLenExtendedContinued() > 0){
			return this.getPayloadLenExtendedContinued();
		}
		
		if (this.getPayloadLenExtended() > 0){
			return this.getPayloadLenExtended();
		}
		if (this.getPayloadLen() == HAS_EXTEND_DATA || this.getPayloadLen() == HAS_EXTEND_DATA_CONTINUE){
			return 0l;
		}
		
		return this.getPayloadLen();
	}