MCPcopy Create free account
hub / github.com/PolyhedraZK/ExpanderCompilerCollection / AppendIntSlice

Method AppendIntSlice

ecgo/utils/buf.go:49–54  ·  view source on GitHub ↗
(x []int)

Source from the content-addressed store, hash-verified

47}
48
49func (o *OutputBuf) AppendIntSlice(x []int) {
50 o.AppendUint64(uint64(len(x)))
51 for _, v := range x {
52 o.AppendUint64(uint64(v))
53 }
54}
55
56func (o *OutputBuf) Bytes() []byte {
57 res := o.buf

Callers 4

serializeInstructionFunction · 0.80
serializeCircuitFunction · 0.80
serializeInstructionFunction · 0.80
serializeCircuitFunction · 0.80

Calls 1

AppendUint64Method · 0.95

Tested by

no test coverage detected