Method ADT.Struct()->encode()

class ADT.Struct

Method encode

string encode(mixed ... state)

Description

Serializes the struct into a string. This string is equal to the string fed to decode if nothing in the struct has been altered.

Parameter state

Extra arguments that may be used by custom Item encoders. They are passed straight to Item()->encode() and not handled in any other way.

See also

encode()