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

Method PopAsIntValue

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

Source from the content-addressed store, hash-verified

59}
60
61func (self *ValueStack) PopAsIntValue() (types.IntValue, error) {
62 val, err := self.Pop()
63 if err != nil {
64 return types.IntValue{}, err
65 }
66 return val.AsIntValue()
67}
68
69func (self *ValueStack) PushBytes(val []byte) error {
70 v, err := types.VmValueFromBytes(val)

Callers 4

PopPairAsIntValMethod · 0.95
PopTripleAsIntValMethod · 0.95
BenchmarkNewExecutorFunction · 0.80
ExecuteOpMethod · 0.80

Calls 2

PopMethod · 0.95
AsIntValueMethod · 0.80

Tested by 1

BenchmarkNewExecutorFunction · 0.64