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

Function reset

include/jwt/json/json.hpp:7191–7196  ·  view source on GitHub ↗

reset token_buffer; current character is beginning of token

Source from the content-addressed store, hash-verified

7189
7190 /// reset token_buffer; current character is beginning of token
7191 void reset() noexcept
7192 {
7193 token_buffer.clear();
7194 token_string.clear();
7195 token_string.push_back(std::char_traits<char_type>::to_char_type(current));
7196 }
7197
7198 /*
7199 @brief get next character from the input

Callers 2

scan_stringMethod · 0.85
scan_numberMethod · 0.85

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected