code: def update_fp(self, fp, length):
          # type: (BinaryIO, int) -> None
          '''
          Update the Inode to use a different file object and length.
  
          Parameters:
           fp - A file object that contains the data for this Inode.
           length - The length of the data.
          Returns:
           Nothing.
          '''
          if not self._initialized:
              raise pycdlibexception.PyCdlibInternalError('Inode is not yet initialized')
  
          self.original_data_location = self.DATA_IN_EXTERNAL_FP
          self.data_fp = fp
          self.data_length = length
          self.fp_offset = f update_fp(self, fp, length):
          # type: (BinaryIO, int) -> None
          '''
          Update the Inode to use a different file object and length.
  
          Parameters:
           fp - A file object that contains the data for this Inode.
           length - The length of the data.
          Returns:
           Nothing.
          '''
          if not self._initialized:
              raise pycdlibexception.PyCdlibInternalError('Inode is not yet initialized')
  
          self.original_data_location = self.DATA_IN_EXTERNAL_FP
          self.data_fp = fp
          self.data_length = length
          self.fp_offset = 0
docs: Update the Inode to use a different file object and length.
  
          Parameters:
           fp - A file object that contains the data for this Inode.
           length - The length of the data.
          Returns:
           Nothing.