Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DNAProject/DNA
/ Finish
Method
Finish
core/program/program.go:83–85 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
81
}
82
83
func
(self *ProgramBuilder) Finish() []byte {
84
return
self.sink.Bytes()
85
}
86
87
func
NewProgramBuilder() ProgramBuilder {
88
return
ProgramBuilder{sink: common.NewZeroCopySink(nil)}
Callers
2
TestProgramBuilder_PushBytes
Function · 0.95
ProgramFromParams
Function · 0.95
Calls
1
Bytes
Method · 0.45
Tested by
1
TestProgramBuilder_PushBytes
Function · 0.76