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

Method WriteData

go/fory/slice_primitive.go:230–232  ·  view source on GitHub ↗
(ctx *WriteContext, value reflect.Value)

Source from the content-addressed store, hash-verified

228type int32SliceSerializer struct{}
229
230func (s int32SliceSerializer) WriteData(ctx *WriteContext, value reflect.Value) {
231 WriteInt32Slice(ctx.Buffer(), value.Interface().([]int32))
232}
233
234func (s int32SliceSerializer) Write(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value) {
235 done := writeSliceRefAndType(ctx, refMode, writeType, value, INT32_ARRAY)

Callers 1

WriteMethod · 0.95

Calls 2

WriteInt32SliceFunction · 0.85
BufferMethod · 0.45

Tested by

no test coverage detected