Method ADT.Struct()->create()
classADT.Struct
- Method
create
ADT.Struct ADT.Struct(void|string|Stdio.InputStreamdata,mixed...state)- Parameter
data Data to be decoded and populate the struct. Can 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 decode() and not handled in any other way.