Mostly copied from lime._internal.backend.native.NativeHTTPRequest. https://github.com/openfl/lime/blob/develop/src/lime/_internal/backend/native/NativeHTTPRequest.hx#L285
Static methods
staticloadBytesFromFileSystem(path:String, fileSystem:IFileSystem):Future<Bytes>
Tell the thread pool to asynchronously load the bytes at the given path from the given file system.
Parameters:
path | The string path to load the bytes from. |
---|---|
fileSystem | The IFilesystem to use when loading the bytes. |
Returns:
A future promising that the bytes will be made available when the task is complete.