The readAllBytes function is established to load a binary file into a bytes array.
var ary=file.readAllBytes("Roboto-Italic.ttf");
Calling | Returning |
---|---|
file . readAllBytes ( path ) | byte[] |
Parameters | Type | Description |
---|---|---|
path | String | The relative file or folder path to the storage. |