src/net/third_party/quiche/src/quic/test_tools/quic_stream_sequencer_buffer_peer.cc
size_t QuicStreamSequencerBufferPeer::Read(char* dest_buffer, size_t size) {
  iovec dest;
  dest.iov_base = dest_buffer, dest.iov_len = size;
  size_t bytes_read;
  std::string error_details;
  EXPECT_THAT(buffer_->Readv(&dest, 1, &bytes_read, &error_details),
              IsQuicNoError());
  return bytes_read;
}
// Read from this buffer_ into the given destination buffer_ up to the
// size of the destination. Returns the number of bytes read. Reading from
// an empty buffer_->returns 0.
Read from this buffer_ into the given destination buffer_ up to the
size of the destination. Returns the number of bytes read. Reading from
an empty buffer_->returns 0.
Read from this buffer_ into the given destination buffer_ up to the size of the destination . Returns the number of bytes read . Reading from an empty buffer_ - > returns 0 .
size_t QuicStreamSequencerBufferPeer::Read(char* dest_buffer, size_t size) {
  iovec dest;
  dest.iov_base = dest_buffer, dest.iov_len = size;
  size_t bytes_read;
  std::string error_details;
  EXPECT_THAT(buffer_->Readv(&dest, 1, &bytes_read, &error_details),
              IsQuicNoError());
  return bytes_read;
}
size_t QuicStreamSequencerBufferPeer :: Read ( char * dest_buffer , size_t size ) { iovec dest ; dest . iov_base = dest_buffer , dest . iov_len = size ; size_t bytes_read ; std :: string error_details ; EXPECT_THAT ( buffer_ -> Readv ( & dest , 1 , & bytes_read , & error_details ) , IsQuicNoError ( ) ) ; return bytes_read ; }
Read from this buffer_ into the given destination buffer_ up to the
size of the destination.
Read from this buffer_ into the given destination buffer_ up to the size of the destination .