MCPcopy Create free account
hub / github.com/apache/fory / Write

Method Write

go/fory/slice_primitive_list.go:201–203  ·  view source on GitHub ↗
(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value)

Source from the content-addressed store, hash-verified

199}
200
201func (s compatiblePrimitiveListToArraySerializer) Write(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value) {
202 ctx.SetError(SerializationErrorf("compatible list-to-array field serializer is read-only"))
203}
204
205//go:noinline
206func (s compatiblePrimitiveListToArraySerializer) Read(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value) {

Callers

nothing calls this directly

Calls 2

SerializationErrorfFunction · 0.85
SetErrorMethod · 0.45

Tested by

no test coverage detected