$_stream
$_stream : string
Utility class to walk through a data stream byte by byte with conventional names
__construct(string $stream) : void
Constructor
Create a refrence to a byte stream that is going to be parsed or created by the methods in the class. Detect if the class should use big or little Endian encoding.
string | $stream | use '' if creating a new stream or pass a string if reading. |
writeBytes(string $bytes) : \Zend_Amf_Util_BinaryStream
Write any length of bytes to the stream
Usually a string.
string | $bytes |
writeByte(string $stream) : \Zend_Amf_Util_BinaryStream
Writes the passed string into a signed byte on the stream.
string | $stream |
writeInt(integer $stream) : \Zend_Amf_Util_BinaryStream
Write an the integer to the output stream as a 32 bit signed integer
integer | $stream |
writeUtf(string $stream) : \Zend_Amf_Util_BinaryStream
Wite a UTF-8 string to the outputstream
string | $stream |
writeLongUtf(string $stream) : \Zend_Amf_Util_BinaryStream
Write a long UTF string to the buffer
string | $stream |
writeLong(integer|string $stream) : \Zend_Amf_Util_BinaryStream
Write long numeric value to output stream
integer|string | $stream |
writeDouble(string|double $stream) : \Zend_Amf_Util_BinaryStream
Writes an IEEE 754 double-precision floating point number from the data stream.
string|double | $stream |