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

Method ReadByte

vm/neovm/utils/vm_reader.go:43–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41}
42
43func (r *VmReader) ReadByte() (byte, error) {
44 byte, err := r.reader.ReadByte()
45 return byte, err
46}
47
48func (r *VmReader) ReadBytes(count int) ([]byte, error) {
49 // first check to avoid memory attack

Callers 4

ReadVarIntMethod · 0.95
GetVersionMethod · 0.80
ExecuteOpMethod · 0.80
ReadOpCodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected