| Package | Zend_Amf |
| Subpackage | Util |
| Copyright | Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com) |
| License | http://framework.zend.com/license/new-bsd New BSD License |
| Package | Zend_Amf |
| Subpackage | Util |
| Copyright | Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com) |
| License | http://framework.zend.com/license/new-bsd New BSD License |
| # $_bigEndian | |
| # $_needle | |
| # $_stream | |
| # $_streamLength |
| + __construct() | Constructor |
| + getStream() | Returns the current stream |
| + readByte() | Reads a signed byte |
| + readBytes() | Read the number of bytes in a row for the length supplied |
| + readDouble() | Reads an IEEE 754 double-precision floating point number from the data stream |
| + readInt() | Reads a signed 32-bit integer from the data stream |
| + readLong() | Read a long numeric value |
| + readLongUtf() | Read a long UTF string |
| + readUnsignedShort() | Read a 16 bit unsigned short |
| + readUtf() | Reads a UTF-8 string from the data stream |
| + writeByte() | Writes the passed string into a signed byte on the stream |
| + writeBytes() | Write any length of bytes to the stream |
| + writeDouble() | Writes an IEEE 754 double-precision floating point number from the data stream |
| + writeInt() | Write an the integer to the output stream as a 32 bit signed integer |
| + writeLong() | Write long numeric value to output stream |
| + writeLongUtf() | Write a long UTF string to the buffer |
| + writeUtf() | Wite a UTF-8 string to the outputstream |
public function __construct( |
$stream)
|
string $stream |
use '' if creating a new stream or pass a string if reading. |
public function getStream( |
)
|
public function readByte( |
)
|
public function readBytes( |
$length)
|
int $length |
Zend_Amf_Exception for buffer underrun
public function readDouble( |
)
|
public function readInt( |
)
|
public function readLong( |
)
|
public function readLongUtf( |
)
|
public function readUnsignedShort( |
)
|
public function readUtf( |
)
|
public function writeByte( |
$stream)
|
string $stream |
Zend_Amf_Util_BinaryStream
public function writeBytes( |
$bytes)
|
string $bytes |
Zend_Amf_Util_BinaryStream
public function writeDouble( |
$stream)
|
string|double $stream |
Zend_Amf_Util_BinaryStream
public function writeInt( |
$stream)
|
int $stream |
Zend_Amf_Util_BinaryStream
public function writeLong( |
$stream)
|
int|string $stream |
Zend_Amf_Util_BinaryStream
public function writeLongUtf( |
$stream)
|
public function writeUtf( |
$stream)
|
string $stream |
Zend_Amf_Util_BinaryStream