MCPcopy Create free account
hub / github.com/arun11299/cpp-jwt / remove_prefix

Method remove_prefix

include/jwt/string_view.hpp:164–169  ·  view source on GitHub ↗

Modifier Member Functions

Source from the content-addressed store, hash-verified

162
163 /// Modifier Member Functions
164 void remove_prefix(size_type n) noexcept
165 {
166 assert (n < len_ && "Data would point out of bounds");
167 data_ += n;
168 len_ -= n;
169 }
170
171 void remove_suffix(size_type n) noexcept
172 {

Callers 1

str_operationsFunction · 0.80

Calls

no outgoing calls

Tested by 1

str_operationsFunction · 0.64