Home | History | Annotate | Download | only in python2.7

Lines Matching refs:pack

217             n = struct.unpack("L", struct.pack("l", n))[0]
455 timestamp = struct.pack("<L", long(time.time()))
502 self.fileobj.write(struct.pack("<L", self.crc & 0xffffffffL))
503 self.fileobj.write(struct.pack("<L", self.pos & 0xffffFFFFL))
1124 buf = struct.pack("%ds" % BLOCKSIZE, "".join(parts))