
22. High-level API Reference
www.yoctopuce.com
179
YModule
module
→
download()
Downloads the specified built-in file and returns a binary buffer with its content.
js
function download(
pathname
)
cpp
string download( string
pathname
)
m
-(NSMutableData*) download : (NSString*)
pathname
pas
function download(
pathname
: string): TByteArray
vb
function download( ) As Byte
cs
byte[] download( string
pathname
)
java
byte[] download( String
pathname
)
uwp
Task<byte[]> download( string
pathname
)
py
def download(
pathname
)
php
function download(
$pathname
)
es
function download(
pathname
)
cmd
YModule
target
download
pathname
Parameters :
pathname
name of the new file to load
Returns :
a binary buffer with the file content
On failure, throws an exception or returns
YAPI_INVALID_STRING
.
Содержание Yocto-Display
Страница 1: ...Yocto Display User Manual...
Страница 2: ......
Страница 40: ...34 www yoctopuce com...
Страница 52: ...46 www yoctopuce com...
Страница 84: ...78 www yoctopuce com...
Страница 92: ...86 www yoctopuce com...
Страница 130: ...124 www yoctopuce com...
Страница 158: ...22 High level API Reference 152 www yoctopuce com On failure throws an exception or returns a negative error code...
Страница 422: ...416 www yoctopuce com...
Страница 424: ...24 Characteristics 418 www yoctopuce com...