omf_io.pointset.utils.calculate_struct_size

omf_io.pointset.utils.calculate_struct_size(struct_format)[source]

Calculate the size of a struct based on the format string.

Parameters:

struct_format (str) – The struct format string.

Returns:

The size of the struct.

Return type:

int