Method ADT.Struct()->create()

class ADT.Struct

Method create

ADT.Struct ADT.Struct(void|string|Stdio.InputStream data, 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.