matlab.net.http.io.FileProvider.getData - Next buffer of data to send in HTTP request message from
FileProvider - MATLAB ([original](https://in.mathworks.com/help/matlab/ref/matlab.net.http.io.fileprovider.getdata.html)) ([raw](?raw))
Main Content
Class: matlab.net.http.io.FileProvider
Namespace: matlab.net.http.io
Next buffer of data to send in HTTP request message from FileProvider
Syntax
[data,stop] = getData(provider,length)
Description
[[data](#d126e830150),[stop](#d126e830174)] = getData([provider](#d126e830102),[length](#d126e830123))
returns the next buffer of data from the file. This method is an overridden method ofgetData.
Input Arguments
Content provider, specified as amatlab.net.http.io.FileProvider
object.
Length of data that the provider should return, specified as double. For more information, see the length argument inContentProvider.getData
.
Output Arguments
Next buffer of data, returned as a uint8
vector or empty.
Indicate whether to end transmission, returned as a logical that the provider must set. getData
sets stop
to true
if the end of file has been reached orFileSize
bytes have been returned, whichever comes first.
Attributes
Version History
Introduced in R2018a