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

Function DecodeType

src/util/asmap.cpp:58–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56
57const std::vector<uint8_t> TYPE_BIT_SIZES{0, 0, 1};
58Instruction DecodeType(std::vector<bool>::const_iterator& bitpos, const std::vector<bool>::const_iterator& endpos)
59{
60 return Instruction(DecodeBits(bitpos, endpos, 0, TYPE_BIT_SIZES));
61}
62
63const std::vector<uint8_t> ASN_BIT_SIZES{15, 16, 17, 18, 19, 20, 21, 22, 23, 24};
64uint32_t DecodeASN(std::vector<bool>::const_iterator& bitpos, const std::vector<bool>::const_iterator& endpos)

Callers 2

InterpretFunction · 0.85
SanityCheckASMapFunction · 0.85

Calls 2

InstructionEnum · 0.85
DecodeBitsFunction · 0.85

Tested by

no test coverage detected