putData
クラス: matlab.net.http.io.FileConsumer
名前空間: matlab.net.http.io
FileConsumer のファイルにデータの次のバッファーを保存
構文
[size,stop] = putData(consumer,data)
説明
[
は、サーバーから読み取ったデータの次のバッファーを格納し、size
,stop
] = putData(consumer
,data
)data
をファイルに書き込み、書き込まれたバイト数を返します。このメソッドは MATLAB® で呼び出された putData
のオーバーライドされたメソッドです。
入力引数
consumer
— コンテンツ コンシューマー
matlab.net.http.io.FileConsumer
コンテンツ コンシューマー。matlab.net.http.io.FileConsumer
オブジェクトとして指定します。
data
— ResponseMessage
の生データのバッファー
空でない uint8
ベクトル | uint8.empty
| []
(空の double)
matlab.net.http.ResponseMessage
オブジェクトの生データのバッファー。空でない uint8
ベクトル、uint8.empty
、または []
として指定します。これらの値の詳細については、ContentConsumer.putData
メソッドのdata入力引数を参照してください。
出力引数
属性
Access | public |
バージョン履歴
R2018a で導入
参考
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)