#include "quiche/quic/core/http/quic_spdy_stream_body_manager.h"
#include <algorithm>
#include "absl/strings/string_view.h"
#include "quiche/quic/platform/api/quic_logging.h"
namespace quic {
QuicSpdyStreamBodyManager::QuicSpdyStreamBodyManager()
: … { … }
size_t QuicSpdyStreamBodyManager::OnNonBody(QuicByteCount length) { … }
void QuicSpdyStreamBodyManager::OnBody(absl::string_view body) { … }
size_t QuicSpdyStreamBodyManager::OnBodyConsumed(size_t num_bytes) { … }
int QuicSpdyStreamBodyManager::PeekBody(iovec* iov, size_t iov_len) const { … }
size_t QuicSpdyStreamBodyManager::ReadableBytes() const { … }
size_t QuicSpdyStreamBodyManager::ReadBody(const struct iovec* iov,
size_t iov_len,
size_t* total_bytes_read) { … }
}