MCPcopy Create free account
hub / github.com/DNAProject/DNA / ReadOpCode

Method ReadOpCode

vm/neovm/execution_context.go:61–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59}
60
61func (self *ExecutionContext) ReadOpCode() (val OpCode, eof bool) {
62 code, err := self.OpReader.ReadByte()
63 if err != nil {
64 eof = true
65 return
66 }
67 val = OpCode(code)
68 return val, false
69}
70
71func (ec *ExecutionContext) Clone() *ExecutionContext {
72 context := NewExecutionContext(ec.Code, ec.vmFlags)

Callers 1

ExecuteMethod · 0.45

Calls 2

OpCodeTypeAlias · 0.85
ReadByteMethod · 0.80

Tested by

no test coverage detected