MCPcopy Create free account
hub / github.com/chain/txvm / encode

Method encode

protocol/txvm/item.go:68–70  ·  view source on GitHub ↗
(w *bytes.Buffer)

Source from the content-addressed store, hash-verified

66}
67
68func (b Bytes) encode(w *bytes.Buffer) {
69 writePushdata(w, b)
70}
71
72func (t Tuple) encode(w *bytes.Buffer) {
73 for _, item := range t {

Callers

nothing calls this directly

Calls 1

writePushdataFunction · 0.70

Tested by

no test coverage detected