MCPcopy Create free account
hub / github.com/Icinga/icinga2 / Prepare

Method Prepare

lib/remote/httpmessage.hpp:240–240  ·  view source on GitHub ↗

* Prepare a buffer of the specified size for writing. * * The returned buffer serves just as a view onto the internal buffer sequence but does not actually * own the memory. Thus, destroying the returned buffer will not free any memory it represents. * * @param size The size of the buffer to prepare * * @return A mutable buffer representing the prepared space */

Source from the content-addressed store, hash-verified

238 * @return A mutable buffer representing the prepared space
239 */
240 auto Prepare(std::size_t size) { return Base::body().Buffer().prepare(size); }
241
242 /**
243 * Enables chunked encoding.

Callers 1

NextMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected