class HTTPBodyStream
Defined at line 30 of file ../../third_party/crashpad/src/util/net/http_body.h
An interface to a stream that can be used for an HTTP request body.
Public Methods
FileOperationResult GetBytesBuffer (uint8_t * buffer, size_t max_len)
Copies up to
bytes into the user-supplied buffer.
Parameters
buffer [out] A user-supplied buffer into which this method will copy bytes from the stream.
max_len [in] The length (or size) of At most this many bytes will be copied.
Returns
On success, a positive number indicating the number of bytes
actually copied to
On failure, a negative number. When
the stream has no more data, returns `0`.
void ~HTTPBodyStream ()
Defined at line 32 of file ../../third_party/crashpad/src/util/net/http_body.h
Protected Methods
void HTTPBodyStream ()
Defined at line 48 of file ../../third_party/crashpad/src/util/net/http_body.h