MCPcopy Create free account
hub / github.com/chriskohlhoff/asio / shrink

Function shrink

include/asio/buffer.hpp:2008–2011  ·  view source on GitHub ↗

@b DynamicBuffer_v2: Shrink the underlying memory by the specified number of bytes. * Erases @c n bytes from the end of the string by resizing the basic_string * object. If @c n is greater than the current size of the string, the string * is emptied. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

sizeFunction · 0.70
resizeMethod · 0.45

Tested by

no test coverage detected