dump_buffer

Function Usage

Flushes the image memory data to a binary file. You need to specify the file name and path.

Prototype

1
dump_buffer(filePath: str, forceOverwrite: bool = False);

Input Parameters

Parameter

Type

Description

filePath

str

Path of the data file (including the file name). Soft links are not supported.

forceOverwrite

bool

Indicates whether to forcibly overwrite the existing file when saving the file. The default value is False, indicating that the existing file is not overwritten.