参考 loadBytes()

loadBytes()

This method is suitable for fetching files up to size of 64MB.

示例

语法

loadBytes(file, [callback], [errorCallback])

参数

file

name of the file or URL to load

callback

function to be executed after loadBytes() completes

errorCallback

function to be executed if there is an error

Notice any errors or typos? Please let us know. Please feel free to edit src/io/files.js and open a pull request!

相关参考