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

Method WriteData

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

Source from the content-addressed store, hash-verified

152type int8SliceSerializer struct{}
153
154func (s int8SliceSerializer) WriteData(ctx *WriteContext, value reflect.Value) {
155 WriteInt8Slice(ctx.Buffer(), value.Interface().([]int8))
156}
157
158func (s int8SliceSerializer) Write(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value) {
159 done := writeSliceRefAndType(ctx, refMode, writeType, value, INT8_ARRAY)

Callers 1

WriteMethod · 0.95

Calls 2

WriteInt8SliceFunction · 0.85
BufferMethod · 0.45

Tested by

no test coverage detected