Searched refs:_format (Results 1 – 1 of 1) sorted by relevance
122 _format = "" variable in Struct.CStruct130 _format += "%ds" % len(_nested[index])135 _format += "s"138 _format += fmt[i]140 _length = CalcSize(_format)144 for i in range(len(_format)):145 offset = CalcSize(_format[:i])154 numfields = len(struct.unpack(_format, b"\x00" * _length))166 values = list(struct.unpack(self._format, data))246 return struct.pack(self._format, *values)