Searched refs:_format (Results 1 – 1 of 1) sorted by relevance
134 _format = "" variable in Struct.CStruct142 _format += "%ds" % len(_nested[index])150 _format += "s"153 _format += fmt[i]155 _length = CalcSize(_format)159 for i in range(len(_format)):160 offset = CalcSize(_format[:i])169 numfields = len(struct.unpack(_format, b"\x00" * _length))181 values = list(struct.unpack(self._format, data))262 return struct.pack(self._format, *values)