MCPcopy Create free account
hub / github.com/argotorg/solidity / mapItemCount

Method mapItemCount

test/Metadata.cpp:75–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 solRequire((m_pos + 1) < _metadata.size(), CBORException, "Input too short.");
74 }
75 unsigned mapItemCount()
76 {
77 solRequire(nextType() == MajorType::Map, CBORException, "Fixed-length map expected.");
78 return readLength();
79 }
80 std::string readKey()
81 {
82 return readString();

Callers 1

parseCBORMetadataFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected