AMFReader::readObject() –

You appear to be a bot. Output may be restricted

Description

Usage

$array = AMFReader::readObject();

Parameters

Returns

array

Source

File name: wordpress/wp-includes/ID3/module.audio-video.flv.php
Lines:

1 to 17 of 17
  public function readObject() {
    // Get highest numerical index - ignored
//		$highestIndex = $this->stream->readLong();

    $data = array();
    $key = null;

    while ($key = $this->stream->readUTF()) {
      $data[$key] = $this->AMFReader::readData();
    }
    // Mixed array record ends with empty string (0x00 0x00) and 0x09
    if (($key == '') && ($this->stream->peekByte() == 0x09)) {
      // Consume byte
      $this->stream->readByte();
    }
    return $data;
  }
 

 View on GitHub View on Trac