MCPcopy Create free account
hub / github.com/bcndev/bytecoin / at

Method at

src/common/StringView.cpp:13–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11namespace common {
12
13StringView::Char StringView::at(Size index) const {
14 if (index >= m_size)
15 throw std::out_of_range("StringView::at");
16 return (*this)[index];
17}
18
19bool StringView::operator==(const StringView &other) const {
20 if (m_size != other.m_size)

Callers 15

ser_membersFunction · 0.80
send_getworkMethod · 0.80
generate_hd_spendkeysFunction · 0.80
fill_cm_branchesFunction · 0.80
get_filenames_in_folderFunction · 0.80
JsonValue.cppFile · 0.80
signMethod · 0.80
CurrencyMethod · 0.80
construct_miner_txMethod · 0.80

Calls

no outgoing calls

Tested by 10

test_print_structureMethod · 0.64
test_all_methodsMethod · 0.64
add_incoming_outputMethod · 0.64
unlockMethod · 0.64
add_incoming_keyimageMethod · 0.64
test_wallet_stateFunction · 0.64
proof_stepFunction · 0.64
verify_stepFunction · 0.64
add_checkpointMethod · 0.64
test_bodyFunction · 0.64