Python struct Functions

EditRocket provides the following information on struct functions in the Python source code builder.

calcsize(fmt) - Return the size of the struct (and hence of the string) corresponding to the given format.

unpack(fmt, string) - Unpack the string (presumably packed by pack(fmt, .

unpack_from(fmt, buffer[,offset = 0]) - Unpack the buffer according to tthe given format.