WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

AMFReader::readData() WP 1.0

Это метод класса: AMFReader

Хуков нет.

Возвращает

Ничего (null).

Использование

$AMFReader = new AMFReader();
$var = $AMFReader->readData();

Код AMFReader::readData: wp-includes/ID3/module.audio-video.flv.php WP 5.2

<?php
public function readData() {
	$value = null;

	$type = $this->stream->readByte();
	switch ($type) {

		// Double
		case 0:
			$value = $this->readDouble();
		break;

		// Boolean
		case 1:
			$value = $this->readBoolean();
			break;

		// String
		case 2:
			$value = $this->readString();
			break;

		// Object
		case 3:
			$value = $this->readObject();
			break;

		// null
		case 6:
			return null;
			break;

		// Mixed array
		case 8:
			$value = $this->readMixedArray();
			break;

		// Array
		case 10:
			$value = $this->readArray();
			break;

		// Date
		case 11:
			$value = $this->readDate();
			break;

		// Long string
		case 13:
			$value = $this->readLongString();
			break;

		// XML (handled as string)
		case 15:
			$value = $this->readXML();
			break;

		// Typed object (handled as object)
		case 16:
			$value = $this->readTypedObject();
			break;

		// Long string
		default:
			$value = '(unknown or unsupported data type)';
			break;
	}

	return $value;
}