Method ADT.Struct()->decode()
classADT.Struct
- Method
decode
voiddecode(string|Stdio.InputStreamdata,mixed...state)- Description
Decodes
dataaccording to the struct and populates the struct variables. Thedatacan either be a file object or a string.- Parameter
state Extra arguments that may be used by custom Item decoders. They are passed straight to Item()->decode() and not handled in any other way.
- See also