bool end(const BufferT& dataBuffer)
 {
   return this->end(dataBuffer.data(), dataBuffer.size());
 }
Esempio n. 2
0
	void handle_write(const BufferT &buffer, HandlerT &handler)
	{
		handler(std::error_code(), buffer.size());
	}
 bool end(const BufferT& dataBuffer, const header_block& trailers = {})
 {
   return this->end(dataBuffer.data(), dataBuffer.size(), trailers);
 }
Esempio n. 4
0
		BufferT(const BufferT& rhs) throw() : m_length(0), m_capacity(0)
		{
			append(rhs, rhs.size());
		}