putData
클래스: matlab.net.http.io.BinaryConsumer
네임스페이스: matlab.net.http.io
BinaryConsumer에 대한 다음 데이터 버퍼 저장
구문
[len,stop] = putData(consumer,data)
입력 인수
consumer
— 콘텐츠 소비자
matlab.net.http.io.BinaryConsumer
콘텐츠 소비자로, matlab.net.http.io.BinaryConsumer
객체로 지정됩니다.
data
— ResponseMessage
내 원시 데이터로 구성된 버퍼
비어 있지 않은 uint8
벡터 | uint8.empty
| []
(빈 double형)
matlab.net.http.ResponseMessage
객체 내 원시 데이터로 구성된 버퍼로, 비어 있지 않은 uint8
형 벡터, uint8.empty
또는 []
로 지정됩니다. 이러한 값에 대한 자세한 내용은 ContentConsumer.putData
메서드의 data 입력 인수를 참조하십시오.
MATLAB®이 이 함수를 호출하면 데이터를 uint8
형 벡터로 제공합니다. 이 함수는 Response.Body.Data
의 CurrentLength
+1 위치에 벡터를 추가하여 필요한 경우 data
의 크기를 늘려 향후 데이터를 위한 공간을 마련합니다.
사용자가 자체 데이터를 저장하기 위해 이 메서드를 호출한 경우, Response.Body.Data
에 이미 저장되어 있는 데이터와 호환되는 모든 유형의 데이터를 제공할 수 있습니다.
출력 인수
특성
Access | public |
버전 내역
R2018a에 개발됨
참고 항목
MATLAB 명령
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 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)