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

Function goBytes

ecgo/rust/wrapper/wrapper.go:196–198  ·  view source on GitHub ↗

from c to go

(data *C.uint8_t, length C.uint64_t)

Source from the content-addressed store, hash-verified

194
195// from c to go
196func goBytes(data *C.uint8_t, length C.uint64_t) []byte {
197 return bytes.Clone(unsafe.Slice((*byte)(data), length))
198}
199
200func CompileWithRustLib(s []byte, configId uint64) ([]byte, []byte, error) {
201 initCompilePtr()

Callers 2

CompileWithRustLibFunction · 0.85
ProveCircuitFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected