An implementation of HTTPBodyStream that gzip-compresses another HTTPBodyStream.
More...
#include "util/net/http_body_gzip.h"
Public Member Functions | |
| GzipHTTPBodyStream (std::unique_ptr< HTTPBodyStream > source) | |
| GzipHTTPBodyStream (const GzipHTTPBodyStream &)=delete | |
| GzipHTTPBodyStream & | operator= (const GzipHTTPBodyStream &)=delete |
| FileOperationResult | GetBytesBuffer (uint8_t *buffer, size_t max_len) override |
| Copies up to max_len bytes into the user-supplied buffer. | |
An implementation of HTTPBodyStream that gzip-compresses another HTTPBodyStream.
|
overridevirtual |
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. Implements crashpad::HTTPBodyStream.