getSize

Get the file size

class BinaryFile {
async getSize(): Promise<int>;
}

Returns

getSize returns a Promise which is resolved when the operation has succeded. The promise resolves to the byte size of the file.

Was this page helpful?
Suggest changes