def METHOD_NAME(self) -> None:
    if not os.path.exists(self.file_value):
        buffer_value = self.file_value.lower().strip('0x')
        try:
            buffer = bytearray.fromhex(buffer_value)
        except ValueError as e:
            self.logger.log_error(f'Incorrect <value> specified: \'{self.file_value}\'')
            self.logger.log_error(str(e))
            return
        self.logger.log(f'[CHIPSEC] Read 0x{len(buffer):X} hex bytes from command-line: \'{buffer_value}\'')
    else:
        buffer = read_file(self.file_value)
        self.logger.log(f'[CHIPSEC] Read 0x{len(buffer):X} bytes from file \'{self.file_value}\'')
    if len(buffer) < self.size:
        self.logger.log_error(f'Number of bytes read (0x{len(buffer):X}) is less than the specified <length> (0x{self.size:X})')
        return
    self.logger.log(f'[CHIPSEC] Writing buffer to memory: PA = 0x{self.address:016X}, len = 0x{self.size:X}..')
    self.cs.igd.gfx_aperture_dma_read_write(self.address, self.size, buffer)