MCPcopy Create free account
hub / github.com/ElementsProject/elements / DecodeJump

Function DecodeJump

src/util/asmap.cpp:78–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76
77const std::vector<uint8_t> JUMP_BIT_SIZES{5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30};
78uint32_t DecodeJump(std::vector<bool>::const_iterator& bitpos, const std::vector<bool>::const_iterator& endpos)
79{
80 return DecodeBits(bitpos, endpos, 17, JUMP_BIT_SIZES);
81}
82
83}
84

Callers 2

InterpretFunction · 0.85
SanityCheckASMapFunction · 0.85

Calls 1

DecodeBitsFunction · 0.85

Tested by

no test coverage detected