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

Function ParseNeovmParamByteArray

cmd/utils/neovm_param_abi.go:121–127  ·  view source on GitHub ↗
(param string)

Source from the content-addressed store, hash-verified

119}
120
121func ParseNeovmParamByteArray(param string) (interface{}, error) {
122 res, err := hex.DecodeString(param)
123 if err != nil {
124 return nil, fmt.Errorf("parse byte array param:%s error:%s", param, err)
125 }
126 return res, nil
127}

Callers 1

ParseNeovmParamFunction · 0.85

Calls 1

ErrorfMethod · 0.80

Tested by

no test coverage detected