getSize
Get the file size
class BinaryFile { async getSize(): Promise<int>;}Parameters
getSize does not have any parameters.
Returns
getSize returns a Promise which is resolved when the operation has succeded.
The promise resolves to the byte size of the file.