Used to read data to/from a service.
#include <body_stream.hpp>
◆ ~BodyStream()
virtual Azure::Core::IO::BodyStream::~BodyStream |
( |
| ) |
|
|
virtualdefault |
◆ Length()
virtual int64_t Azure::Core::IO::BodyStream::Length |
( |
| ) |
const |
|
pure virtual |
◆ Read()
- Parameters
-
buffer | Pointer to a first byte of the byte buffer to read the data into. |
count | Size of the buffer to read the data into. |
context | A context to control the request lifetime. |
- Returns
- Number of bytes read.
◆ ReadToCount()
- Parameters
-
buffer | Pointer to a first byte of the byte buffer to read the data into. |
count | Size of the buffer to read the data into. |
context | A context to control the request lifetime. |
- Returns
- Number of bytes read.
◆ ReadToEnd()
- Parameters
-
context | A context to control the request lifetime. |
- Returns
- A vector of bytes containing the entirety of data read from the
body
.
The documentation for this class was generated from the following files: