def decode(self, data):
        """ Decodes a write coils request

        :param data: The packet data to decode
        """
        self.address, count, self.byte_count = struct.unpack('>HHB', data[0:5])
        values = unpack_bitstring(data[5:])
        self.values = values[:count]