MCPcopy Create free account
hub / github.com/citp/BlockSci / RawOutput

Method RawOutput

tools/parser/preproccessed_block.cpp:60–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60RawOutput::RawOutput(SafeMemReader &reader) {
61 value = static_cast<int64_t>(reader.readNext<Value>());
62 scriptLength = reader.readVariableLengthInteger();
63 scriptBegin = reinterpret_cast<const unsigned char*>(reader.unsafePos());
64 reader.advance(scriptLength);
65}
66
67WitnessStackItem::WitnessStackItem(SafeMemReader &reader) {
68 length = reader.readVariableLengthInteger();

Callers

nothing calls this directly

Calls 3

unsafePosMethod · 0.80
advanceMethod · 0.80

Tested by

no test coverage detected