An interface to a stream that can be used for an HTTP request body. More...
#include "util/net/http_body.h"
Public Member Functions | |
| virtual FileOperationResult | GetBytesBuffer (uint8_t *buffer, size_t max_len)=0 |
| Copies up to max_len bytes into the user-supplied buffer. | |
An interface to a stream that can be used for an HTTP request body.
|
pure virtual |
Copies up to max_len bytes into the user-supplied buffer.
| [out] | buffer | A user-supplied buffer into which this method will copy bytes from the stream. |
| [in] | max_len | The length (or size) of buffer. At most this many bytes will be copied. |
0. Implemented in crashpad::CompositeHTTPBodyStream, crashpad::FileReaderHTTPBodyStream, crashpad::GzipHTTPBodyStream, and crashpad::StringHTTPBodyStream.