Utility class to walk through a data stream byte by byte with conventional names
Located in /Amf/Util/BinaryStream.php (line 31)
Class | Description |
---|---|
![]() |
Iterate at a binary level through the AMF response |
![]() |
InputStream is used to iterate at a binary level through the AMF request. |
Constructor
Create a reference 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.
Returns the current stream
Reads a signed byte
Read the number of bytes in a row for the length supplied.
Reads an IEEE 754 double-precision floating point number from the data stream.
Reads a signed 32-bit integer from the data stream.
Read a long numeric value
Read a long UTF string
Read a 16 bit unsigned short.
Reads a UTF-8 string from the data stream
Writes the passed string into a signed byte on the stream.
Write any length of bytes to the stream
Usually a string.
Writes an IEEE 754 double-precision floating point number from the data stream.
Write an the integer to the output stream as a 32 bit signed integer
Write long numeric value to output stream
Write a long UTF string to the buffer
Wite a UTF-8 string to the outputstream
Documentation generated on Mon, 21 Jun 2010 15:09:05 -0400 by phpDocumentor 1.4.3