code: @Override
  	public String getString() {
  		log.trace("getString - currentDataType: {}", currentDataType);
  		byte lastDataType = currentDataType;
  		// temporarily set to string for reading
  		if (currentDataType != AMF.TYPE_STRING) {
  			currentDataType = AMF.TYPE_STRING;
  		}
  		String result = readString();
  		// set data type back to what it was
  		currentDataType = lastDataType;
  		return result;
  	}
docs: Reads string from buffer
  
  @return String