Skip to content

DataAdapter.readBinary method

DataAdapter › readBinary

Official

Read the contents of a binary file.

Signature:

readBinary(normalizedPath: string): Promise<ArrayBuffer>

Parameters:

Parameter Type Description
normalizedPath string path to file, use {@link normalizePath} to normalize beforehand.

Returns: Promise<ArrayBuffer>