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:

ParameterTypeDescription
normalizedPathstringpath to file, use {@link normalizePath} to normalize beforehand.
dataArrayBufferthe data to append.
options?DataWriteOptions | undefined(Optional)

Returns: Promise<void>

Since: 1.12.3