code: def update_value(self, offset, value):
          
  
          if offset + len(value) > self.total_size:
              return Error.INPUT_BUFFER_TOO_LONG
  
          if len(self.current_value) < offset:
              self.current_value += bytearray(offset - len(self.current_value))
          if len(self.current_value) > offset:
              self.current_value = self.current_value[:offset]
  
          self.current_value += bytearray(value)
          return 0
docs: Update the binary value currently stored for this config value.
  
          Returns:
              int: An opaque error code that can be returned from a set_config rpc