def decodeChunkList(self, fmt, data):
        size = struct.calcsize(fmt)

        try:
            return [struct.unpack(fmt, data[i:i+size])
                    for i in range(0, len(data), size)]
        except struct.error:
            raise BadPacketError("Can't decode chunk list")