Unpack Data

d1, d2, … = struct.unpack(fmt, txt, [i])

Unpacks the binary data txt according to the format fmt.

Parameter Type Description
fmt string See: Format Strings
txt string Binary data to unpack
i integer Index into txt to start
Returns Type Description
d1, d2... (variable) Unpacked data according to fmt