7 Word
Parser::parse_leb128(Block block
, bool is_signed
) {
17 Byte next
= block
[offset
++];
18 result
|= (next
& 0x7f) << shift
;
19 if(next
& 0x80) break;
24 block
.erase(block
.begin(), block
.begin() + offset
);
30 } // namespace Interface
31 } // namespace Aesalon