Skip to content

DataAdapter.appendBinary method

DataAdapter › appendBinary

Official

Add data to the end of a binary file.

Signature:

appendBinary(normalizedPath: string, data: ArrayBuffer, options?: DataWriteOptions | undefined): Promise<void>

Parameters:

Parameter Type Description
normalizedPath string path to file, use {@link normalizePath} to normalize beforehand.
data ArrayBuffer the data to append.
options? DataWriteOptions | undefined (Optional)

Returns: Promise<void>

Since: 1.12.3