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

Method WriteData

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

Source from the content-addressed store, hash-verified

266type int64SliceSerializer struct{}
267
268func (s int64SliceSerializer) WriteData(ctx *WriteContext, value reflect.Value) {
269 WriteInt64Slice(ctx.Buffer(), value.Interface().([]int64))
270}
271
272func (s int64SliceSerializer) Write(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value) {
273 done := writeSliceRefAndType(ctx, refMode, writeType, value, INT64_ARRAY)

Callers 1

WriteMethod · 0.95

Calls 2

WriteInt64SliceFunction · 0.85
BufferMethod · 0.45

Tested by

no test coverage detected