Amfphp_Core_Amf_Deserializer takes the raw amf input stream and converts it PHP objects representing the data.
package | Amfphp_Core_Amf |
---|
deserialize(array $getData, array $postData, string $rawPostData) : \Amfphp_Core_Amf_Packet
readAmf3Data() : mixed
mixed
readData(mixed $type) : mixed
mixed
The $type integer
mixed
The php version of the data in the Packet blockreadAmf3Array() : array
array
readAmf3Int() : \read
\read
integer valuereadAmf3String() : string
string
readArray() : array
array
The php arrayreadBuffer(\type $len) : mixed
\type
mixed
readByte() : int
int
The next byte converted into an integerreadCustomClass() : object
In order to preserve the class name an additional property is assigned to the object Amfphp_Core_Amf_Constants::FIELD_EXPLICIT_TYPE. This property will be overwritten if it existed within the class already.
object
The php representation of the objectreadDate() : \Amfphp_Core_Amf_Types_Date
This method is still under development.
\Amfphp_Core_Amf_Types_Date
a container with the date in ms.readDouble() : float
float
The floating point value of the next 8 bytesreadHeaders()
Header information typically contains meta data about the Packet.
readInt() : int
int
The resulting integer from the next 2 bytesreadLong() : int
int
The resulting integer from the next 4 bytesreadLongUTF() : string
Then it grabs the next (len) bytes of the resulting in the string
string
The utf8 decoded stringreadMessages()
readMixedArray() : array
array
The php array with mixed indexesreadMixedObject() : array
array
The php array with the object datareadObject() : Object
Object
The php object filled with the datareadReference() : String
It treats where there are references to other objects. Currently it does not resolve the object as this would involve a serious amount of overhead, unless you have a genius idea
String
readUTF() : string
Then it grabs the next (len) bytes of the resulting string.
string
The utf8 decoded stringresetReferences()
$amf0storedObjects : array
$currentByte : int
access | protected |
---|
$deserializedPacket : \<Amfphp_Core_Amf_Packet>
$headersLeftToProcess : int
access | protected |
---|
$rawData : string
$storedDefinitions : array
$storedObjects : array
$storedStrings : array