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

Method remove_suffix

include/jwt/string_view.hpp:171–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169 }
170
171 void remove_suffix(size_type n) noexcept
172 {
173 assert (n < len_ && "Suffix length more than data length");
174 len_ -= n;
175 }
176
177 void swap(basic_string_view& other)
178 {

Callers 1

str_operationsFunction · 0.80

Calls

no outgoing calls

Tested by 1

str_operationsFunction · 0.64