def register_filter_decoder decoder = nil, &block
      if !decoder.nil? && decoder.is_a?(Proc)
        @filter_codec[:decoder] = decoder
      elsif block_given?
        @filter_codec[:decoder] = block
      end
      save
    end
def register_filter_decoder decoder = nil, &block
      if !decoder.nil? && decoder.is_a?(Proc)
        @filter_codec[:decoder] = decoder
      elsif block_given?
        @filter_codec[:decoder] = block
      end
      save
    end
Registers a custom filter function to decode data.

 With this operation, it will be able to change filter decoding behavior despite
 the specified filter type value. It takes a Proc object or a block.