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

Function consume

include/asio/buffer.hpp:2025–2037  ·  view source on GitHub ↗

@b DynamicBuffer_v1: Remove characters from the input sequence. @b DynamicBuffer_v2: Consume the specified number of bytes from the beginning of the underlying memory. * @b DynamicBuffer_v1: Removes @c n characters from the beginning of the * input sequence. @note If @c n is greater than the size of the input * sequence, the entire input sequence is consumed and no error is issued. * *

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

parseMethod · 0.85
parseMethod · 0.85
parseMethod · 0.85
parseMethod · 0.85

Calls 3

eraseMethod · 0.80
sizeFunction · 0.70
beginMethod · 0.45

Tested by

no test coverage detected