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

Method ReadFieldElement

ecgo/utils/buf.go:107–109  ·  view source on GitHub ↗
(field SimpleField)

Source from the content-addressed store, hash-verified

105}
106
107func (i *InputBuf) ReadFieldElement(field SimpleField) constraint.Element {
108 return field.FromInterface(i.ReadBigInt(field.SerializedLen()))
109}
110
111func (i *InputBuf) IsEnd() bool {
112 return len(i.buf) == 0

Callers 1

deserializeInstructionFunction · 0.80

Calls 3

ReadBigIntMethod · 0.95
FromInterfaceMethod · 0.65
SerializedLenMethod · 0.65

Tested by

no test coverage detected