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

Method Commit

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

* Commits the specified number of bytes (previously obtained via @c prepare()) for reading. * * This function makes the specified number of bytes available in the body buffer for reading. * * @param size The number of bytes to commit */

Source from the content-addressed store, hash-verified

226 * @param size The number of bytes to commit
227 */
228 void Commit(std::size_t size) { Base::body().Buffer().commit(size); }
229
230 /**
231 * Prepare a buffer of the specified size for writing.

Callers 2

WritePackageConfigMethod · 0.45
WriteStageConfigMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected