Extracted from Pike v8.0 release 358 as of 2016-11-23.
   

Method ADT.Struct()->decode()


Method decode

void decode(string|Stdio.File data)

Description

Decodes data according to the struct and populates the struct variables. The data can either be a file object or a string.