Method ADT.Struct()->low_decode()

class ADT.Struct

Method low_decode

void low_decode(Stdio.InputStream data, mixed ... state)

Description

Decodes data according to the struct and populates the struct variables. The data is always a file object.

Parameter data
Parameter state

Arguments from decode().

Called by decode() after it has normalized its input.

This is probably the function you want to overload when writing custom decoders.

Note

This function did not exist prior to Pike 9.0.

See also

decode()