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

Function newProgramParser

core/program/program.go:154–156  ·  view source on GitHub ↗
(prog []byte)

Source from the content-addressed store, hash-verified

152}
153
154func newProgramParser(prog []byte) *programParser {
155 return &programParser{source: common.NewZeroCopySource(prog)}
156}
157
158func (self *programParser) ReadOpCode() (neovm.OpCode, error) {
159 code, eof := self.source.NextByte()

Callers 1

Calls 1

NewZeroCopySourceFunction · 0.92

Tested by 1